diff options
-rw-r--r-- | arch/arm/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index b2085735a2ba..826164945747 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -110,7 +110,7 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
110 | * We need to tell the secondary core where to find | 110 | * We need to tell the secondary core where to find |
111 | * its stack and the page tables. | 111 | * its stack and the page tables. |
112 | */ | 112 | */ |
113 | secondary_data.stack = (void *)idle->thread_info + THREAD_SIZE - 8; | 113 | secondary_data.stack = (void *)idle->thread_info + THREAD_START_SP; |
114 | secondary_data.pgdir = virt_to_phys(pgd); | 114 | secondary_data.pgdir = virt_to_phys(pgd); |
115 | wmb(); | 115 | wmb(); |
116 | 116 | ||