Skip to content

Commit

Permalink
sparc32,leon: add notify_cpu_starting()
Browse files Browse the repository at this point in the history
Otherwise cpu_active_mask will not set, which lead to other issue.

Signed-off-by: Yong Zhang <[email protected]>
Signed-off-by: Konrad Eisele <[email protected]>
Reviewed-by: Srivatsa S. Bhat <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Yong Zhang authored and davem330 committed Apr 21, 2012
1 parent 8f4f9d4 commit e9a5ea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/sparc/kernel/leon_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <linux/pm.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/cpu.h>

#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
Expand Down Expand Up @@ -78,6 +79,8 @@ void __cpuinit leon_callin(void)
local_flush_tlb_all();
leon_configure_cache_smp();

notify_cpu_starting(cpuid);

/* Get our local ticker going. */
smp_setup_percpu_timer();

Expand Down

0 comments on commit e9a5ea1

Please sign in to comment.