From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 01266DDF3E for ; Wed, 12 Dec 2007 19:00:12 +1100 (EST) Message-Id: From: Kumar Gala To: Michael Neuling In-Reply-To: <20071212054512.882AC62C070@localhost.localdomain> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: [PATCH 1/2] Make setjmp/longjmp code generic Date: Wed, 12 Dec 2007 01:59:55 -0600 References: <20071212054512.882AC62C070@localhost.localdomain> Cc: linuxppc-dev@ozlabs.org, RAISCH@de.ibm.com, Paul Mackerras , THEMANN@de.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > --- > > 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