Skip to content

Commit

Permalink
sparc64: Directly call xcall_deliver() in smp_start_sync_tick_client.
Browse files Browse the repository at this point in the history
We know the cpu is online and not the current cpu here.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 4, 2008
1 parent 1992663 commit 24445a4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/sparc64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 24445a4

Please sign in to comment.