Re: le32_to_cpu() help...

Jakub Jelinek (jakub@redhat.com)
Wed, 3 Nov 1999 10:46:06 +0100


On Wed, Nov 03, 1999 at 04:27:54AM -0500, Alexander Viro wrote:
>
>
> On 3 Nov 1999, H. Peter Anvin wrote:
>
> > Followup to: <19991102114522.E525@mff.cuni.cz>
> > By author: Jakub Jelinek <jakub@redhat.com>
> [le32_to_cpu() and cpu_to_le32()]
> >
> > Both macros do the same thing on all *currently supported*
> > architectures. One never know when a funny thing from Mars shows up;
> > perhaps a 48-bit architecture, who knows...
>
> ;-) NIUX problem?

No, NUXI/PDP endian conversion is ok as well, it works both ways the same.
But hpa is of course right that we never know what will come up.

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

-
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/