[POWERPC] Save trap number in bad_stack
authorOlof Johansson <olof@lixom.net>
Mon, 23 Apr 2007 15:11:55 +0000 (01:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 24 Apr 2007 12:06:59 +0000 (22:06 +1000)
commit687304014f7ca8e2fbb3feaefef356b4a0da65ad
tree2212a33688e74d8c8bef0affe67cabbf5a14e03c
parent6cfef5b27e49e826125f12637ee0d7210a896044
[POWERPC] Save trap number in bad_stack

Save the trap number in the case of getting a bad stack in an exception
handler. It is sometimes useful to know what exception it was that caused
this to happen. Without this, no trap number is reported.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/head_64.S
include/asm-powerpc/paca.h