[POWERPC] Make setjmp/longjmp code usable outside of xmon
authorMichael Neuling <mikey@neuling.org>
Fri, 18 Jan 2008 04:50:30 +0000 (15:50 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:50 +0000 (22:52 +1100)
commitc3b75bd7bbf4a0438dc140033b80657995fd30ed
tree4621ebbf620d6262fccf61811824386b9ba50915
parentcaa34c9e9cab6afb243a3da406cce272805c48c5
[POWERPC] Make setjmp/longjmp code usable outside of xmon

This makes the setjmp/longjmp code used by xmon, generically available
to other code.  It also removes the requirement for debugger hooks to
be only called on 0x300 (data storage) exception.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/misc.S
arch/powerpc/mm/fault.c
arch/powerpc/xmon/setjmp.S
arch/powerpc/xmon/xmon.c
include/asm-powerpc/setjmp.h [new file with mode: 0644]