diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-19 18:39:33 +0100 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-19 18:39:33 +0100 |
commit | 36c5ed23b9f535d1c79986efb45f9c1f115e0997 (patch) | |
tree | 5a493a7b19b02a8c7ccadafc5a3f55ca9da6605e /arch/arm/kernel/setup.c | |
parent | 3aa3dfb372576f30835a94409556e3c8681b5756 (diff) |
[PATCH] ARM SMP: Fix PXA/SA11x0 suspend resume crash
We need to re-initialise the stack pointers for undefined, IRQ
and abort mode handlers whenever we resume.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 7ecdda3f125..9fed5fa194d 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -328,7 +328,7 @@ static void __init setup_processor(void) * cpu_init dumps the cache information, initialises SMP specific * information, and sets up the per-CPU stacks. */ -void __init cpu_init(void) +void cpu_init(void) { unsigned int cpu = smp_processor_id(); struct stack *stk = &stacks[cpu]; |