diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-11-07 06:43:44 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-08 01:19:48 +0100 |
commit | 7b007de8a90604000329154e87d269db3427d099 (patch) | |
tree | 637842a469abd622af00f1032d295dc62400dba6 /include/asm-ppc | |
parent | [PATCH] ppc: fix a bunch of warnings (diff) | |
download | linux-7b007de8a90604000329154e87d269db3427d099.tar.xz linux-7b007de8a90604000329154e87d269db3427d099.zip |
[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')
-rw-r--r-- | include/asm-ppc/kgdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/kgdb.h b/include/asm-ppc/kgdb.h index 1d3c927ce626..b617dac82969 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); |