]> err.no Git - linux-2.6/commit
[Blackfin] arch: fix bug - when we crash, current is not valid
authorRobin Getz <rgetz@blackfin.uclinux.org>
Wed, 26 Mar 2008 01:15:58 +0000 (09:15 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 26 Mar 2008 01:15:58 +0000 (09:15 +0800)
commit9a62ca40fd793742f92565104c6b44319af8c282
tree6f35dc65b76e9d789da6dc6ca72624adbc389f41
parent81d9c7f27dd679df6d03df53eba4fd12caafdb47
[Blackfin] arch: fix bug - when we crash, current is not valid

Sometimes when we crash, current is not valid, (has been written
over), so the existing code causes a invalid read during exception
context - which is a unrecoverable double fault. This fixes this.

Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/traps.c