diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-19 07:44:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-19 07:44:51 -0400 |
commit | 7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 (patch) | |
tree | bafacf9813cdbb27a9e4a125340c98415cdcb903 /arch/powerpc/platforms/powermac | |
parent | 46aab8c584ea69cdbe1060f5eae5bf092763f710 (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')
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/smp.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index 9416fcaa6daa..7eb0c34b6994 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c | |||
@@ -312,9 +312,9 @@ pmac_setup_arch(void) | |||
312 | #ifdef CONFIG_SMP | 312 | #ifdef CONFIG_SMP |
313 | /* Check for Core99 */ | 313 | /* Check for Core99 */ |
314 | if (find_devices("uni-n") || find_devices("u3")) | 314 | if (find_devices("uni-n") || find_devices("u3")) |
315 | ppc_md.smp_ops = &core99_smp_ops; | 315 | smp_ops = &core99_smp_ops; |
316 | else | 316 | else |
317 | ppc_md.smp_ops = &psurge_smp_ops; | 317 | smp_ops = &psurge_smp_ops; |
318 | #endif /* CONFIG_SMP */ | 318 | #endif /* CONFIG_SMP */ |
319 | 319 | ||
320 | pci_create_OF_bus_map(); | 320 | pci_create_OF_bus_map(); |
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index fb996336c58b..ccaa0534d60f 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 | ||
212 | static void smp_psurge_message_pass(int target, int msg, unsigned long data, | 212 | static 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 | ||
630 | void smp_core99_message_pass(int target, int msg, unsigned long data, int wait) | 629 | void 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 */ |