[PATCH 2/6]: powerpc/cell spidernet low watermark patch.
David Miller
davem at davemloft.net
Thu Aug 24 08:03:14 EST 2006
From: linas at austin.ibm.com (Linas Vepstas)
Date: Wed, 23 Aug 2006 16:36:42 -0500
> I could create a searate patch to change struct descr {} to split
> the u32 into several u8's; there's a dozen spots that get touched.
>
> Alternatel, I could do a cheesy cast to char[4] and access that way.
> Opinions?
The most portable scheme would be a "u32/u8[4]" union with
appropriate endianness checks when determining which byte
to access in the u8[] view.
More information about the Linuxppc-dev
mailing list