[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)
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>

No differences found