lkml.org 
[lkml]   [1999]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] the other __raw_writel's
Horst von Brand wrote:
>
> Alan Cox <alan@lxorguk.ukuu.org.uk> said:
> > > jj@sunsite.ms.mff.cuni.cz said:
> > > > Take care, they are wrong. long is 64bit on sparc64, don't be
> > > > confused by read long when it is in fact a 32bit read.
>
> > > Then readl and writel are the wrong names for the routines.
> > > We ought to rename them while we're at it.
>
> > The use of l for 32bits is pretty consistent. htonl() is another fine example
> > of this. If you want 64bits call em something else
>
> VAXen called 64-bit quantities Q (quadwords).

...which is why writeq() exists for 64-bit quantities :)

Jeff




--
Any sufficiently advanced technology is indistinguishable from a rigged
demo.
-- Andy Finkel

-
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:53    [W:1.401 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site