sparc64: Directly call xcall_deliver() in smp_start_sync_tick_client.
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2008 07:02:31 +0000 (00:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2008 20:51:40 +0000 (13:51 -0700)
We know the cpu is online and not the current cpu here.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/smp.c

index 47b0738ea4be3e9ad0e69f7a83ba1ca45c470b02..8c9e75dc1e652b5b0e61567954aba3d76236befd 100644 (file)
@@ -782,10 +782,8 @@ extern unsigned long xcall_sync_tick;
 
 static void smp_start_sync_tick_client(int cpu)
 {
-       cpumask_t mask = cpumask_of_cpu(cpu);
-
-       smp_cross_call_masked(&xcall_sync_tick,
-                             0, 0, 0, mask);
+       xcall_deliver((u64) &xcall_sync_tick, 0, 0,
+                     &cpumask_of_cpu(cpu));
 }
 
 extern unsigned long xcall_call_function;