[PATCH] [POWERPC] convert transfer_to_handler into a macro

Kumar Gala galak at kernel.crashing.org
Thu May 1 11:31:40 EST 2008

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,  

More information about the Linuxppc-dev mailing list