aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/smp.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-19 07:44:51 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-19 07:44:51 -0400
commit7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 (patch)
treebafacf9813cdbb27a9e4a125340c98415cdcb903 /arch/powerpc/platforms/powermac/smp.c
parent46aab8c584ea69cdbe1060f5eae5bf092763f710 (diff)
ppc: Minor smp changes for consistency with ppc64
This makes platform code use the smp_ops variable directly instead of ppc_md.smp_ops, removes the two unused `data' and `wait' arguments from the *_message_pass() functions, and removes the call to the never-implemented smp_ops->space_timers() function. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/smp.c')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index fb996336c58..ccaa0534d60 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -209,8 +209,7 @@ irqreturn_t psurge_primary_intr(int irq, void *d, struct pt_regs *regs)
209 return IRQ_HANDLED; 209 return IRQ_HANDLED;
210} 210}
211 211
212static void smp_psurge_message_pass(int target, int msg, unsigned long data, 212static void smp_psurge_message_pass(int target, int msg)
213 int wait)
214{ 213{
215 int i; 214 int i;
216 215
@@ -627,7 +626,7 @@ void smp_core99_give_timebase(void)
627 local_irq_restore(flags); 626 local_irq_restore(flags);
628} 627}
629 628
630void smp_core99_message_pass(int target, int msg, unsigned long data, int wait) 629void smp_core99_message_pass(int target, int msg)
631{ 630{
632 cpumask_t mask = CPU_MASK_ALL; 631 cpumask_t mask = CPU_MASK_ALL;
633 /* make sure we're sending something that translates to an IPI */ 632 /* make sure we're sending something that translates to an IPI */