diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2016-04-22 19:41:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-21 02:55:41 +0200 |
commit | 06fc7b5008d7f0be2912b830725035616756d183 (patch) | |
tree | 50aa64df420cff125b19d86b7780fb48d23100c8 /arch | |
parent | sparc32: drop hardcoding trap_level in kgdb_trap (diff) | |
download | linux-06fc7b5008d7f0be2912b830725035616756d183.tar.xz linux-06fc7b5008d7f0be2912b830725035616756d183.zip |
sparc32: drop local prototype in kgdb_32
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/kgdb_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/kgdb_32.c b/arch/sparc/kernel/kgdb_32.c index 5d0a323878c9..8602e8874de5 100644 --- a/arch/sparc/kernel/kgdb_32.c +++ b/arch/sparc/kernel/kgdb_32.c @@ -12,6 +12,8 @@ #include <asm/irq.h> #include <asm/cacheflush.h> +#include "entry.h" + extern unsigned long trapbase; void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) @@ -133,8 +135,6 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, return -1; } -extern void do_hw_interrupt(struct pt_regs *regs, unsigned long type); - asmlinkage void kgdb_trap(unsigned long trap_level, struct pt_regs *regs) { unsigned long flags; |