On Wed, 21 Feb 2007 19:07:02 -0800 (PST) David Miller <[EMAIL PROTECTED]> wrote:
>
> Nevertheless, I am to understand that in this case we're talking about
> a "u64" object, and that (and the structure it is in) will be aligned
> on an 8-byte boundary on both sparc32 and sparc64, so maybe there is
> no problem here?

Yes, I am pretty sure that the only architecture that would need this is
IA64 where the u64 is 4 byte aligned in 32 bit mode and 8 byte aligned in
64 bit mode.  x86_64 declared the structure packed in 64 bit (so
presumably doesn't have a problem with unaligned u64 accesses).  All the
other 32 bit equivalent architectures align u64s on 8 byte boundaries (I
think).

--
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpJvkZliDfwa.pgp
Description: PGP signature

Reply via email to