aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc/platforms/hdpu.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-19 21:44:51 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-19 21:44:51 +1000
commit7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 (patch)
treebafacf9813cdbb27a9e4a125340c98415cdcb903 /arch/ppc/platforms/hdpu.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/ppc/platforms/hdpu.c')
-rw-r--r--arch/ppc/platforms/hdpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/platforms/hdpu.c b/arch/ppc/platforms/hdpu.c
index ff379686012..2cc12b04584 100644
--- a/arch/ppc/platforms/hdpu.c
+++ b/arch/ppc/platforms/hdpu.c
@@ -753,7 +753,7 @@ static int smp_hdpu_probe(void)
}
static void
-smp_hdpu_message_pass(int target, int msg, unsigned long data, int wait)
+smp_hdpu_message_pass(int target, int msg)
{
if (msg > 0x3) {
printk("SMP %d: smp_message_pass: unknown msg %d\n",
@@ -949,7 +949,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
#endif /* CONFIG_SERIAL_TEXT_DEBUG */
#ifdef CONFIG_SMP
- ppc_md.smp_ops = &hdpu_smp_ops;
+ smp_ops = &hdpu_smp_ops;
#endif /* CONFIG_SMP */
#if defined(CONFIG_SERIAL_MPSC) || defined(CONFIG_MV643XX_ETH)