diff options
Diffstat (limited to 'arch/mips/netlogic/xlr/wakeup.c')
-rw-r--r-- | arch/mips/netlogic/xlr/wakeup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/netlogic/xlr/wakeup.c b/arch/mips/netlogic/xlr/wakeup.c index 3ebf7411d67b..c06e4c9f0478 100644 --- a/arch/mips/netlogic/xlr/wakeup.c +++ b/arch/mips/netlogic/xlr/wakeup.c | |||
@@ -53,6 +53,7 @@ int __cpuinit xlr_wakeup_secondary_cpus(void) | |||
53 | { | 53 | { |
54 | struct nlm_soc_info *nodep; | 54 | struct nlm_soc_info *nodep; |
55 | unsigned int i, j, boot_cpu; | 55 | unsigned int i, j, boot_cpu; |
56 | volatile u32 *cpu_ready = nlm_get_boot_data(BOOT_CPU_READY); | ||
56 | 57 | ||
57 | /* | 58 | /* |
58 | * In case of RMI boot, hit with NMI to get the cores | 59 | * In case of RMI boot, hit with NMI to get the cores |
@@ -71,7 +72,7 @@ int __cpuinit xlr_wakeup_secondary_cpus(void) | |||
71 | nodep->coremask = 1; | 72 | nodep->coremask = 1; |
72 | for (i = 1; i < NLM_CORES_PER_NODE; i++) { | 73 | for (i = 1; i < NLM_CORES_PER_NODE; i++) { |
73 | for (j = 1000000; j > 0; j--) { | 74 | for (j = 1000000; j > 0; j--) { |
74 | if (nlm_cpu_ready[i * NLM_THREADS_PER_CORE]) | 75 | if (cpu_ready[i * NLM_THREADS_PER_CORE]) |
75 | break; | 76 | break; |
76 | udelay(10); | 77 | udelay(10); |
77 | } | 78 | } |