On Mon, Jun 25, 2007 at 10:48:10AM +0100, David Woodhouse wrote:
> Seems like a reasonable observation, although 'oddball' isn't really the
> case here. There are a bunch of architectures which align 64-bit
> arguments into even pairs of registers. And a lot of people who forget
> that 64-bit quantities are often aligned to 8 bytes, on non-x86.
> cf. f4d2781731e846c2f01dd85e71883d120860c6dd
[...]
> It might actually be useful to merge all these into fs/compat.c. I think
> the only reason most of them are arch-specific at the moment is because
> we have to deal with endianness when we put the two 32-bit integers
> together into a 64-bit integer. And MIPS copes well enough with that,
> with its merge_64() macro.

PowerPC is new to me -- I had thought that MIPS and PA-RISC were the
only two.  Seems like you took the opposite path from parisc -- you've
got glibc to call the functions correctly, rather than what we did which
was fix them up in the kernel.

-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to