Blackfin: use scratch pad for exception stack
authorMike Frysinger <vapier@gentoo.org>
Tue, 25 Aug 2009 00:48:04 +0000 (20:48 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 2 Sep 2009 09:58:38 +0000 (05:58 -0400)
commit9c46e71af2b03ccd721c56b1dc906ead702d6fb5
tree4b97879f42b15dc48b15776d1ff672b090731de3
parent69a25ce3578f34c8accb476f70089f3a44b78ed9
Blackfin: use scratch pad for exception stack

If the memory layout pushes the stack out of the default DCPLB coverage,
the exception handler may trigger a double fault by trying to push onto
the uncovered stack.  So handle the exception stack similar to the kernel
by using the top of the scratch pad SRAM.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/interrupt.S
include/asm-blackfin/config.h