diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2016-04-22 19:41:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-20 17:55:41 -0700 |
commit | 3c46e2d61cfc389dc6e000489fcfcaea805710e0 (patch) | |
tree | 6e54066ddbba86ad77ea4fdcce02695faa675188 /arch/sparc/kernel/kgdb_32.c | |
parent | 06fc7b5008d7f0be2912b830725035616756d183 (diff) | |
download | lwn-3c46e2d61cfc389dc6e000489fcfcaea805710e0.tar.gz lwn-3c46e2d61cfc389dc6e000489fcfcaea805710e0.zip |
sparc32: use proper prototype for trapbase
This killed an extern ... in a .c file.
No functional change.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kgdb_32.c')
-rw-r--r-- | arch/sparc/kernel/kgdb_32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/kernel/kgdb_32.c b/arch/sparc/kernel/kgdb_32.c index 8602e8874de5..6e8e318c57be 100644 --- a/arch/sparc/kernel/kgdb_32.c +++ b/arch/sparc/kernel/kgdb_32.c @@ -12,10 +12,9 @@ #include <asm/irq.h> #include <asm/cacheflush.h> +#include "kernel.h" #include "entry.h" -extern unsigned long trapbase; - void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) { struct reg_window32 *win; |