Re: MMIO and gcc re-ordering issue

From: Arnd Bergmann
Date: Thu May 29 2008 - 03:10:58 EST


On Wednesday 28 May 2008, Benjamin Herrenschmidt wrote:
> On Tue, 2008-05-27 at 14:55 -0700, Linus Torvalds wrote:
> >
> > On Wed, 28 May 2008, Benjamin Herrenschmidt wrote:
> > >
> > > A problem with __raw_ though is that they -also- don't do byteswap,
> >
> > Well, that's why there is __readl() and __raw_readl(), no?
>
> As I replied to somebody else, __readl() is news to me :-) we dont' have
> those on powerpc.
>

It's not exactly a well-established interface. Only five architectures
define these functions, and there is not a single user in the kernel
source outside of these architecture's io.h files.

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/