Skip to contentSkip to conversation

sparc32: drop local prototype in kgdb_32

PATCH In review Sam Ravnborg 1 participant 1 message Apr 22, 2016 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 sparc32: drop local prototype in kgdb_32

---
 arch/sparc/kernel/kgdb_32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/sparc/kernel/kgdb_32.c +2 -2
index 5d0a323..8602e88 100644
@@ -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;
Signature · 1 line
2.5.0