summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/kgdb_64.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:26:09 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-19 04:01:34 +0200
commit48c7eca5f27c9a8a23fd30eee2edb417bda18aea (patch)
treefe6ca6fa0d6e5050db9595d29eac3a436966384e /arch/sparc/kernel/kgdb_64.c
parentsparc64: fix sparse warnings in compat_audit.c (diff)
downloadlinux-48c7eca5f27c9a8a23fd30eee2edb417bda18aea.tar.xz
linux-48c7eca5f27c9a8a23fd30eee2edb417bda18aea.zip
sparc64: fix sparse warning in kgdb_64.c
Fix following warnings: kgdb_64.c:114:18: warning: symbol 'smp_kgdb_capture_client' was not declared. Should it be static? kgdb_64.c:161:17: warning: symbol 'kgdb_trap' was not declared. Should it be static? Add proper prototypes Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kgdb_64.c')
-rw-r--r--arch/sparc/kernel/kgdb_64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c
index b45fe3fb4d2c..cbf21d0870e0 100644
--- a/arch/sparc/kernel/kgdb_64.c
+++ b/arch/sparc/kernel/kgdb_64.c
@@ -13,6 +13,8 @@
#include <asm/ptrace.h>
#include <asm/irq.h>
+#include "kernel.h"
+
void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
{
struct reg_window *win;