diff options
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index f9165d1a17bf..b8ea4e9d0d87 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -71,7 +71,6 @@ extern asmlinkage void handle_reserved(void); | |||
71 | extern int fpu_emulator_cop1Handler(struct pt_regs *xcp, | 71 | extern int fpu_emulator_cop1Handler(struct pt_regs *xcp, |
72 | struct mips_fpu_struct *ctx, int has_fpu); | 72 | struct mips_fpu_struct *ctx, int has_fpu); |
73 | 73 | ||
74 | void (*board_watchpoint_handler)(struct pt_regs *regs); | ||
75 | void (*board_be_init)(void); | 74 | void (*board_be_init)(void); |
76 | int (*board_be_handler)(struct pt_regs *regs, int is_fixup); | 75 | int (*board_be_handler)(struct pt_regs *regs, int is_fixup); |
77 | void (*board_nmi_handler_setup)(void); | 76 | void (*board_nmi_handler_setup)(void); |
@@ -249,11 +248,11 @@ static void __show_regs(const struct pt_regs *regs) | |||
249 | /* | 248 | /* |
250 | * Saved cp0 registers | 249 | * Saved cp0 registers |
251 | */ | 250 | */ |
252 | printk("epc : %0*lx ", field, regs->cp0_epc); | 251 | printk("epc : %0*lx %pS\n", field, regs->cp0_epc, |
253 | print_symbol("%s ", regs->cp0_epc); | 252 | (void *) regs->cp0_epc); |
254 | printk(" %s\n", print_tainted()); | 253 | printk(" %s\n", print_tainted()); |
255 | printk("ra : %0*lx ", field, regs->regs[31]); | 254 | printk("ra : %0*lx %pS\n", field, regs->regs[31], |
256 | print_symbol("%s\n", regs->regs[31]); | 255 | (void *) regs->regs[31]); |
257 | 256 | ||
258 | printk("Status: %08x ", (uint32_t) regs->cp0_status); | 257 | printk("Status: %08x ", (uint32_t) regs->cp0_status); |
259 | 258 | ||
@@ -892,11 +891,6 @@ asmlinkage void do_mdmx(struct pt_regs *regs) | |||
892 | 891 | ||
893 | asmlinkage void do_watch(struct pt_regs *regs) | 892 | asmlinkage void do_watch(struct pt_regs *regs) |
894 | { | 893 | { |
895 | if (board_watchpoint_handler) { | ||
896 | (*board_watchpoint_handler)(regs); | ||
897 | return; | ||
898 | } | ||
899 | |||
900 | /* | 894 | /* |
901 | * We use the watch exception where available to detect stack | 895 | * We use the watch exception where available to detect stack |
902 | * overflows. | 896 | * overflows. |