Skip to content

Commit

Permalink
Blackfin arch: fix bug - kernel with SMP patch can not bootup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Graf Yang authored and Bryan Wu committed Oct 28, 2008
1 parent d292b00 commit efe065a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit efe065a

Please sign in to comment.