diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-11-07 16:43:44 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-08 11:19:48 +1100 |
commit | 7b007de8a90604000329154e87d269db3427d099 (patch) | |
tree | 637842a469abd622af00f1032d295dc62400dba6 /include/asm-ppc | |
parent | 21fe3301f11a93c4f18e8480ed08522559bf0a50 (diff) | |
download | op-kernel-dev-7b007de8a90604000329154e87d269db3427d099.zip op-kernel-dev-7b007de8a90604000329154e87d269db3427d099.tar.gz |
[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 1d3c927..b617dac 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); |