diff options
author | Graf Yang <graf.yang@analog.com> | 2008-10-28 02:00:52 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-28 02:00:52 -0400 |
commit | efe065a1b39974ff2bbb9aa693400f3de4ba5a6a (patch) | |
tree | 7a87b73fb8a82050f082c6b782f89092813d45e4 /arch/blackfin/mach-common/entry.S | |
parent | d292b00031369feb7bc6b4a14e434379fb2dbb01 (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>
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 7 |
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: | |||
1555 | .bss | 1555 | .bss |
1556 | #endif | 1556 | #endif |
1557 | _exception_stack: | 1557 | _exception_stack: |
1558 | .size _exception_stack, 1024 * 4 | 1558 | .rept 1024 |
1559 | .set _exception_stack_top, _exception_stack + 1024 * 4 | 1559 | .long 0 |
1560 | .size _exception_stack_top, 0 | 1560 | .endr |
1561 | _exception_stack_top: | ||
1561 | #endif | 1562 | #endif |