projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6ca91
)
[ARM] Stack starts at THREAD_START_SP offset, not THREAD_SIZE-8
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 4 Sep 2005 10:03:15 +0000
(11:03 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 4 Sep 2005 10:03:15 +0000
(11:03 +0100)
Use the correct constants.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/smp.c
b/arch/arm/kernel/smp.c
index b2085735a2baf1833c90ab1ad9c237d58e869e28..826164945747523fa93712d9d0575051b511ccb7 100644
(file)
--- a/
arch/arm/kernel/smp.c
+++ b/
arch/arm/kernel/smp.c
@@
-110,7
+110,7
@@
int __cpuinit __cpu_up(unsigned int cpu)
* We need to tell the secondary core where to find
* its stack and the page tables.
*/
- secondary_data.stack = (void *)idle->thread_info + THREAD_S
IZE - 8
;
+ secondary_data.stack = (void *)idle->thread_info + THREAD_S
TART_SP
;
secondary_data.pgdir = virt_to_phys(pgd);
wmb();