aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc/kgdb.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-11-07 16:43:44 +1100
committerPaul Mackerras <paulus@samba.org>2005-11-08 11:19:48 +1100
commit7b007de8a90604000329154e87d269db3427d099 (patch)
tree637842a469abd622af00f1032d295dc62400dba6 /include/asm-ppc/kgdb.h
parent21fe3301f11a93c4f18e8480ed08522559bf0a50 (diff)
[PATCH] ppc: Fix ARCH=ppc build with xmon
xmon() prototype is inconsistent between ARCH=ppc and ARCH=powerpc, thus causing ARCH=ppc build breakage. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/kgdb.h')
-rw-r--r--include/asm-ppc/kgdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/kgdb.h b/include/asm-ppc/kgdb.h
index 1d3c927ce62..b617dac8296 100644
--- a/include/asm-ppc/kgdb.h
+++ b/include/asm-ppc/kgdb.h
@@ -31,7 +31,7 @@ extern void breakpoint(void);
/* For taking exceptions
* these are defined in traps.c
*/
-extern void (*debugger)(struct pt_regs *regs);
+extern int (*debugger)(struct pt_regs *regs);
extern int (*debugger_bpt)(struct pt_regs *regs);
extern int (*debugger_sstep)(struct pt_regs *regs);
extern int (*debugger_iabr_match)(struct pt_regs *regs);