]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Remove board_watchpoint_handler
authorDavid Daney <ddaney@avtrex.com>
Mon, 9 Jun 2008 23:30:03 +0000 (16:30 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:29 +0000 (18:44 +0100)
It is not used anywhere in tree.

Signed-off-by: David Daney <ddaney@avtrex.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
include/asm-mips/traps.h

index f9165d1a17bfbccec9d64a9a07148696fcf1784c..6e7e4a2775f6d315c150d3731e06ea36a2baaa62 100644 (file)
@@ -71,7 +71,6 @@ extern asmlinkage void handle_reserved(void);
 extern int fpu_emulator_cop1Handler(struct pt_regs *xcp,
        struct mips_fpu_struct *ctx, int has_fpu);
 
-void (*board_watchpoint_handler)(struct pt_regs *regs);
 void (*board_be_init)(void);
 int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
 void (*board_nmi_handler_setup)(void);
@@ -892,11 +891,6 @@ asmlinkage void do_mdmx(struct pt_regs *regs)
 
 asmlinkage void do_watch(struct pt_regs *regs)
 {
-       if (board_watchpoint_handler) {
-               (*board_watchpoint_handler)(regs);
-               return;
-       }
-
        /*
         * We use the watch exception where available to detect stack
         * overflows.
index e5dbde625ec205fbc1eebe46f5e60ca5ff07376a..90ff2f497c500f84d925773584c4c148356dd793 100644 (file)
@@ -24,6 +24,5 @@ extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
 extern void (*board_nmi_handler_setup)(void);
 extern void (*board_ejtag_handler_setup)(void);
 extern void (*board_bind_eic_interrupt)(int irq, int regset);
-extern void (*board_watchpoint_handler)(struct pt_regs *regs);
 
 #endif /* _ASM_TRAPS_H */