From dd68c048d7a41b725ca3c2e23155598a5781dcbb Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Fri, 20 Jul 2007 13:11:10 +1000 Subject: [PATCH] [POWERPC] Fix ARCH=ppc builds MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras --- include/asm-ppc/system.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h index f1311a8f31..cc45780421 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); -- 2.39.5