lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: le32_to_cpu() help...
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.093 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site