aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2008-10-28 14:00:52 +0800
committerBryan Wu <cooloney@kernel.org>2008-10-28 14:00:52 +0800
commitefe065a1b39974ff2bbb9aa693400f3de4ba5a6a (patch)
tree7a87b73fb8a82050f082c6b782f89092813d45e4
parentd292b00031369feb7bc6b4a14e434379fb2dbb01 (diff)
Blackfin arch: fix bug - kernel with SMP patch can not bootup
The original code defined _exception_stack but not alloc space for the exception stack. In exception, this area is over written by exception stack. Common kernel luckly boot up, but SMP kernel stuck. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r--arch/blackfin/mach-common/entry.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index ad404988229..c6ae8442fc4 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1555,7 +1555,8 @@ _last_cplb_fault_retx:
.bss
#endif
_exception_stack:
-.size _exception_stack, 1024 * 4
-.set _exception_stack_top, _exception_stack + 1024 * 4
-.size _exception_stack_top, 0
+ .rept 1024
+ .long 0
+ .endr
+_exception_stack_top:
#endif