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 ESMTPS id 9F65CDDF00 for ; Thu, 1 May 2008 11:31:52 +1000 (EST) Message-Id: From: Kumar Gala To: benh@kernel.crashing.org In-Reply-To: <1209602915.18023.277.camel@pasglop> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [PATCH] [POWERPC] convert transfer_to_handler into a macro Date: Wed, 30 Apr 2008 20:31:40 -0500 References: <18455.37613.709102.30668@cargo.ozlabs.ibm.com> <73CD5806-5CE4-40A7-957B-8F164E26FAFB@kernel.crashing.org> <1209537128.18023.225.camel@pasglop> <1209592794.18023.248.camel@pasglop> <2A2997EA-F3AF-4C90-8952-42CA48AA07BC@kernel.crashing.org> <20080430184502.4f0c66e2@zod.rchland.ibm.com> <1209599602.18023.273.camel@pasglop> <20080430191153.49fce28e@zod.rchland.ibm.com> <1209602915.18023.277.camel@pasglop> Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Apr 30, 2008, at 7:48 PM, Benjamin Herrenschmidt wrote: > > On Wed, 2008-04-30 at 19:11 -0500, Josh Boyer wrote: >> >>> Nah, he meant using the slot for MAS0 in the exception frame >> structure >>> as to not have to define two different structures I suppose... >> >> Ah, ok. Sorry, still playing catch up on email. I thought we were >> talking about a #define. > > Heh, now that I think about it ... maybe :-) That would be bad indeed. > Kumar ? I'll alias the slot. Similiar to how we use _ESR -> for dsisr Something like this will be added in asm-offset.c: DEFINE(MMUCR, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0));