Re: [PATCH] isa_{read,write}{w,l} fixed

From: Jes Sorensen (Jes.Sorensen@cern.ch)
Date: Sat Feb 12 2000 - 06:57:25 EST


>>>>> "Philipp" == Philipp Rumpf <prumpf@inwestnet.de> writes:

>> Philipp's point is still valid though, u32 is only 2 byte aligned
>> on
Philipp> Alan's point. My point was you could rely on gcc not padding
Philipp> structures when you always explicitly padded to natural
Philipp> alignment boundaries. Eg when you do struct { u16 s; u32 l;
Philipp> } you deserve to get burned, but when you do struct { u16 s;
Philipp> u16 unused; u32 l; } you can expect gcc not to be smart on
Philipp> you.

Right, should have read your posting properly.

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:22 EST