Loading arch/sh/include/asm/system.h +0 −4 Original line number Original line Diff line number Diff line Loading @@ -171,10 +171,6 @@ BUILD_TRAP_HANDLER(fpu_error); BUILD_TRAP_HANDLER(fpu_state_restore); BUILD_TRAP_HANDLER(fpu_state_restore); BUILD_TRAP_HANDLER(nmi); BUILD_TRAP_HANDLER(nmi); #ifdef CONFIG_BUG extern void handle_BUG(struct pt_regs *); #endif #define arch_align_stack(x) (x) #define arch_align_stack(x) (x) struct mem_access { struct mem_access { Loading arch/sh/kernel/traps.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -9,8 +9,8 @@ #include <asm/unwinder.h> #include <asm/unwinder.h> #include <asm/system.h> #include <asm/system.h> #ifdef CONFIG_BUG #ifdef CONFIG_GENERIC_BUG void handle_BUG(struct pt_regs *regs) static void handle_BUG(struct pt_regs *regs) { { const struct bug_entry *bug; const struct bug_entry *bug; unsigned long bugaddr = regs->pc; unsigned long bugaddr = regs->pc; Loading Loading @@ -81,7 +81,7 @@ BUILD_TRAP_HANDLER(bug) SIGTRAP) == NOTIFY_STOP) SIGTRAP) == NOTIFY_STOP) return; return; #ifdef CONFIG_BUG #ifdef CONFIG_GENERIC_BUG if (__kernel_text_address(instruction_pointer(regs))) { if (__kernel_text_address(instruction_pointer(regs))) { insn_size_t insn = *(insn_size_t *)instruction_pointer(regs); insn_size_t insn = *(insn_size_t *)instruction_pointer(regs); if (insn == TRAPA_BUG_OPCODE) if (insn == TRAPA_BUG_OPCODE) Loading Loading
arch/sh/include/asm/system.h +0 −4 Original line number Original line Diff line number Diff line Loading @@ -171,10 +171,6 @@ BUILD_TRAP_HANDLER(fpu_error); BUILD_TRAP_HANDLER(fpu_state_restore); BUILD_TRAP_HANDLER(fpu_state_restore); BUILD_TRAP_HANDLER(nmi); BUILD_TRAP_HANDLER(nmi); #ifdef CONFIG_BUG extern void handle_BUG(struct pt_regs *); #endif #define arch_align_stack(x) (x) #define arch_align_stack(x) (x) struct mem_access { struct mem_access { Loading
arch/sh/kernel/traps.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -9,8 +9,8 @@ #include <asm/unwinder.h> #include <asm/unwinder.h> #include <asm/system.h> #include <asm/system.h> #ifdef CONFIG_BUG #ifdef CONFIG_GENERIC_BUG void handle_BUG(struct pt_regs *regs) static void handle_BUG(struct pt_regs *regs) { { const struct bug_entry *bug; const struct bug_entry *bug; unsigned long bugaddr = regs->pc; unsigned long bugaddr = regs->pc; Loading Loading @@ -81,7 +81,7 @@ BUILD_TRAP_HANDLER(bug) SIGTRAP) == NOTIFY_STOP) SIGTRAP) == NOTIFY_STOP) return; return; #ifdef CONFIG_BUG #ifdef CONFIG_GENERIC_BUG if (__kernel_text_address(instruction_pointer(regs))) { if (__kernel_text_address(instruction_pointer(regs))) { insn_size_t insn = *(insn_size_t *)instruction_pointer(regs); insn_size_t insn = *(insn_size_t *)instruction_pointer(regs); if (insn == TRAPA_BUG_OPCODE) if (insn == TRAPA_BUG_OPCODE) Loading