tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Possible incorrect usage of STACKALIGN in kern_exec



On Tue, Jan 24, 2012 at 12:16:49PM -0800, Stephen M. Rumble wrote:
> The ARM EABI requires 8-byte stack alignment at function entry. I don't know 
> if we're using the EABI, but this bug and its fix might indicate as much.

I don't think we do yet, but we should ;-)

Anyway, let's make a up-rounding (ALIGN-like) copy of STACKALIGN() and use
that (the original macro is correclty used in signalcode and commpat).

Martin


Home | Main Index | Thread Index | Old Index