Loading arch/sh/kernel/hw_breakpoint.c +6 −24 Original line number Diff line number Diff line Loading @@ -143,26 +143,6 @@ static int arch_check_va_in_kernelspace(unsigned long va, u8 hbp_len) return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); } /* * Store a breakpoint's encoded address, length, and type. */ static int arch_store_info(struct perf_event *bp) { struct arch_hw_breakpoint *info = counter_arch_bp(bp); /* * User-space requests will always have the address field populated * For kernel-addresses, either the address or symbol name can be * specified. */ if (info->name) info->address = (unsigned long)kallsyms_lookup_name(info->name); if (info->address) return 0; return -EINVAL; } int arch_bp_generic_fields(int sh_len, int sh_type, int *gen_len, int *gen_type) { Loading Loading @@ -276,10 +256,12 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp, return ret; } ret = arch_store_info(bp); if (ret < 0) return ret; /* * For kernel-addresses, either the address or symbol name can be * specified. */ if (info->name) info->address = (unsigned long)kallsyms_lookup_name(info->name); /* * Check that the low-order bits of the address are appropriate Loading arch/sh/lib/libgcc.h +1 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,7 @@ struct DWstruct { #error I feel sick. #endif typedef union { typedef union { struct DWstruct s; long long ll; } DWunion; Loading arch/sh/mm/pmb.c +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ #include <linux/err.h> #include <linux/io.h> #include <linux/spinlock.h> #include <linux/rwlock.h> #include <asm/sizes.h> #include <asm/system.h> #include <asm/uaccess.h> Loading arch/sh/boot/compressed/cache.c +1 −1 File changed.Contains only whitespace changes. Show changes Loading
arch/sh/kernel/hw_breakpoint.c +6 −24 Original line number Diff line number Diff line Loading @@ -143,26 +143,6 @@ static int arch_check_va_in_kernelspace(unsigned long va, u8 hbp_len) return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); } /* * Store a breakpoint's encoded address, length, and type. */ static int arch_store_info(struct perf_event *bp) { struct arch_hw_breakpoint *info = counter_arch_bp(bp); /* * User-space requests will always have the address field populated * For kernel-addresses, either the address or symbol name can be * specified. */ if (info->name) info->address = (unsigned long)kallsyms_lookup_name(info->name); if (info->address) return 0; return -EINVAL; } int arch_bp_generic_fields(int sh_len, int sh_type, int *gen_len, int *gen_type) { Loading Loading @@ -276,10 +256,12 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp, return ret; } ret = arch_store_info(bp); if (ret < 0) return ret; /* * For kernel-addresses, either the address or symbol name can be * specified. */ if (info->name) info->address = (unsigned long)kallsyms_lookup_name(info->name); /* * Check that the low-order bits of the address are appropriate Loading
arch/sh/lib/libgcc.h +1 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,7 @@ struct DWstruct { #error I feel sick. #endif typedef union { typedef union { struct DWstruct s; long long ll; } DWunion; Loading
arch/sh/mm/pmb.c +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ #include <linux/err.h> #include <linux/io.h> #include <linux/spinlock.h> #include <linux/rwlock.h> #include <asm/sizes.h> #include <asm/system.h> #include <asm/uaccess.h> Loading