Re: [patch] (2nd try) add epoll compat code to kernel/compat.c ...

From: Stephen Rothwell
Date: Tue Feb 13 2007 - 18:17:57 EST


On Tue, 13 Feb 2007 08:43:05 -0600 James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote:
>
> Not for parisc at the instruction level. In narrow mode (32 bit mode),
> a u64 load has to be done by two 32 bit loads which gives it a 4 byte
> alignment requirement. In wide mode (64 bit mode) the 64 bit load
> instruction explicitly requires 8 byte alignment, so our u64 alignment
> requirements are different. However, this is from the machine code
> point of view. I can't say that gcc doesn't enforce an artificial 8
> byte alignment of u64 in narrow mode, so I'll defer to the gcc experts
> on that one.

Of course, gcc enforced alignment is all we really care about.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature