Skip to contentSkip to conversation

fix PReP SMP build

PATCH New Olaf Hering 1 participant 1 message Oct 8, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix PReP SMP build

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

---
 arch/ppc/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ppc/kernel/smp.c +1 -1
Index: 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);