Skip to content

Commit e9a5ea1

Browse files
Yong Zhangdavem330
authored andcommitted
sparc32,leon: add notify_cpu_starting()
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]>
1 parent 8f4f9d4 commit e9a5ea1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/sparc/kernel/leon_smp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <linux/pm.h>
2424
#include <linux/delay.h>
2525
#include <linux/gfp.h>
26+
#include <linux/cpu.h>
2627

2728
#include <asm/cacheflush.h>
2829
#include <asm/tlbflush.h>
@@ -78,6 +79,8 @@ void __cpuinit leon_callin(void)
7879
local_flush_tlb_all();
7980
leon_configure_cache_smp();
8081

82+
notify_cpu_starting(cpuid);
83+
8184
/* Get our local ticker going. */
8285
smp_setup_percpu_timer();
8386

0 commit comments

Comments
 (0)