Re: [patch] the other __raw_writel's

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 19 Aug 1999 23:36:21 +0100 (BST)


> 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

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