aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/xlp/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/netlogic/xlp/setup.c')
-rw-r--r--arch/mips/netlogic/xlp/setup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/netlogic/xlp/setup.c b/arch/mips/netlogic/xlp/setup.c
index b886a508f85a..9f8d360a246e 100644
--- a/arch/mips/netlogic/xlp/setup.c
+++ b/arch/mips/netlogic/xlp/setup.c
@@ -55,7 +55,8 @@
55unsigned long nlm_common_ebase = 0x0; 55unsigned long nlm_common_ebase = 0x0;
56 56
57/* default to uniprocessor */ 57/* default to uniprocessor */
58uint32_t nlm_coremask = 1, nlm_cpumask = 1; 58uint32_t nlm_coremask = 1;
59cpumask_t nlm_cpumask = CPU_MASK_CPU0;
59int nlm_threads_per_core = 1; 60int nlm_threads_per_core = 1;
60extern u32 __dtb_start[]; 61extern u32 __dtb_start[];
61 62
@@ -115,7 +116,8 @@ void __init prom_init(void)
115 nlm_common_ebase = read_c0_ebase() & (~((1 << 12) - 1)); 116 nlm_common_ebase = read_c0_ebase() & (~((1 << 12) - 1));
116 117
117#ifdef CONFIG_SMP 118#ifdef CONFIG_SMP
118 nlm_wakeup_secondary_cpus(0xffffffff); 119 cpumask_setall(&nlm_cpumask);
120 nlm_wakeup_secondary_cpus();
119 121
120 /* update TLB size after waking up threads */ 122 /* update TLB size after waking up threads */
121 current_cpu_data.tlbsize = ((read_c0_config6() >> 16) & 0xffff) + 1; 123 current_cpu_data.tlbsize = ((read_c0_config6() >> 16) & 0xffff) + 1;