diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-07-20 07:11:10 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-22 15:30:58 +0400 |
commit | dd68c048d7a41b725ca3c2e23155598a5781dcbb (patch) | |
tree | c58f7cb5ef96c3b84d755a65e2d5f742435e67d6 /include/asm-ppc | |
parent | 461e666723b6669bc6f7ef90b49b615396d70eb8 (diff) | |
download | linux-dd68c048d7a41b725ca3c2e23155598a5781dcbb.tar.xz |
[POWERPC] Fix ARCH=ppc builds
The recent signal rework broke ARCH=ppc builds with the following
error:
CC arch/powerpc/kernel/signal.o
arch/powerpc/kernel/signal.c: In function Âdo_signalÂ:
arch/powerpc/kernel/signal.c:142: error: implicit declaration of
function Âset_dabrÂ
make[1]: *** [arch/powerpc/kernel/signal.o] Error 1
This fixes it by including a function prototype in asm-ppc/system.h.
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h index f1311a8f310f..cc45780421ca 100644 --- a/include/asm-ppc/system.h +++ b/include/asm-ppc/system.h @@ -54,6 +54,7 @@ extern void show_regs(struct pt_regs * regs); extern void flush_instruction_cache(void); extern void hard_reset_now(void); extern void poweroff_now(void); +extern int set_dabr(unsigned long dabr); #ifdef CONFIG_6xx extern long _get_L2CR(void); extern long _get_L3CR(void); |