summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2016-04-22 20:41:04 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-21 03:55:41 +0300
commit06fc7b5008d7f0be2912b830725035616756d183 (patch)
tree50aa64df420cff125b19d86b7780fb48d23100c8 /arch/sparc
parentd097efa95059e6a36a365add3deaf43fcafc4067 (diff)
downloadlinux-06fc7b5008d7f0be2912b830725035616756d183.tar.xz
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/sparc')
-rw-r--r--arch/sparc/kernel/kgdb_32.c4
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;