sparc32,leon: add notify_cpu_starting()

Otherwise cpu_active_mask will not set, which lead to other issue.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Yong Zhang and committed by David S. Miller e9a5ea18 8f4f9d4d

Changed files
+3
arch
sparc
kernel
+3
arch/sparc/kernel/leon_smp.c
··· 23 23 #include <linux/pm.h> 24 24 #include <linux/delay.h> 25 25 #include <linux/gfp.h> 26 + #include <linux/cpu.h> 26 27 27 28 #include <asm/cacheflush.h> 28 29 #include <asm/tlbflush.h> ··· 78 77 local_flush_cache_all(); 79 78 local_flush_tlb_all(); 80 79 leon_configure_cache_smp(); 80 + 81 + notify_cpu_starting(cpuid); 81 82 82 83 /* Get our local ticker going. */ 83 84 smp_setup_percpu_timer();