[PPC64] Patch to correct alignment for lppaca in paca_struct
Dave Hansen
haveblue at us.ibm.com
Tue Dec 7 05:28:06 EST 2004
On Mon, 2004-12-06 at 09:16, will schmidt wrote:
> - struct ItLpPaca lppaca __attribute__((aligned(0x80)));
> + struct ItLpPaca lppaca __attribute__((aligned(0x400)));
Do you have guarantees about how large the lppaca can get? If it's
larger than 0x400 bytes, you can still cross a page boundary, right?
Maybe you should just align it to PAGE_SIZE and be done with it.
-- Dave
More information about the Linuxppc64-dev
mailing list