[PATCH 1/2] Make setjmp/longjmp code generic

Kumar Gala galak at kernel.crashing.org
Wed Dec 12 18:59:55 EST 2007


On Dec 11, 2007, at 11:45 PM, Michael Neuling wrote:

> 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 at neuling.org>
> ---
>
> arch/powerpc/kernel/misc_64.S |  124 ++++++++++++++++++++++++++++++++ 
> ++++++
> arch/powerpc/mm/fault.c       |    6 -
> arch/powerpc/xmon/Makefile    |    2
> arch/powerpc/xmon/setjmp.S    |  135  
> ------------------------------------------
> arch/powerpc/xmon/xmon.c      |   10 ---
> include/asm-powerpc/setjmp.h  |   12 +++
> 6 files changed, 142 insertions(+), 147 deletions(-)

it would seem that moving this code out of xmon.c into misc_64.s would  
break ppc32 usage.

- k





More information about the Linuxppc-dev mailing list