diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-11-07 08:43:44 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-08 03:19:48 +0300 |
commit | 7b007de8a90604000329154e87d269db3427d099 (patch) | |
tree | 637842a469abd622af00f1032d295dc62400dba6 /include/asm-ppc/kgdb.h | |
parent | 21fe3301f11a93c4f18e8480ed08522559bf0a50 (diff) | |
download | linux-7b007de8a90604000329154e87d269db3427d099.tar.xz |
[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.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); |