Blackfin arch: fix bug - kernel with SMP patch can not bootup
authorGraf Yang <graf.yang@analog.com>
Tue, 28 Oct 2008 06:00:52 +0000 (14:00 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 28 Oct 2008 06:00:52 +0000 (14:00 +0800)
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>
arch/blackfin/mach-common/entry.S

index ad40498822911e9985f4b985860fc51a194edd19..c6ae8442fc4ef306de2ea865136b36ae385fb298 100644 (file)
@@ -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