Thread (2 messages) flat view 2 messages, 2 authors, 2007-07-20

Fix ARCH=ppc builds

From: Josh Boyer <hidden>
Date: 2007-07-20 02:59:14
Subsystem: the rest · Maintainer: Linus Torvalds

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

The patch below fixes it by including a function prototype in
asm-ppc/system.h

Signed-off-by: Josh Boyer <redacted>
diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h
index f1311a8..cc45780 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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help