summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2008-10-28 07:00:52 +0100
committerBryan Wu <cooloney@kernel.org>2008-10-28 07:00:52 +0100
commitefe065a1b39974ff2bbb9aa693400f3de4ba5a6a (patch)
tree7a87b73fb8a82050f082c6b782f89092813d45e4 /arch
parentBlackfin arch: drop redundant BFIN_DMA_5XX depends (diff)
downloadlinux-efe065a1b39974ff2bbb9aa693400f3de4ba5a6a.tar.xz
linux-efe065a1b39974ff2bbb9aa693400f3de4ba5a6a.zip
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>
Diffstat (limited to 'arch')
-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 ad4049882291..c6ae8442fc4e 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