DORMANTno replies

[PATCH] fix PReP SMP build

From: Olaf Hering <hidden>
Date: 2006-10-08 08:33:01

  CC      arch/ppc/kernel/smp.o
arch/ppc/kernel/smp.c:88: error: conflicting types for 'smp_message_recv'
include2/asm/smp.h:42: error: previous declaration of 'smp_message_recv' was here
make[2]: *** [arch/ppc/kernel/smp.o] Error 1

Signed-off-by: Olaf Hering <redacted>

---
 arch/ppc/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/ppc/kernel/smp.c
===================================================================
--- linux-2.6.orig/arch/ppc/kernel/smp.c
+++ linux-2.6/arch/ppc/kernel/smp.c
@@ -84,7 +84,7 @@ smp_message_pass(int target, int msg)
 /*
  * Common functions
  */
-void smp_message_recv(int msg, struct pt_regs *regs)
+void smp_message_recv(int msg)
 {
 	atomic_inc(&ipi_recv);
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help