Re: [PATCH] ppc64: Fix __raw_* IO accessors

From: Geert Uytterhoeven
Date: Tue Sep 21 2004 - 16:02:20 EST


On Tue, 21 Sep 2004, Linus Torvalds wrote:
> On Tue, 21 Sep 2004, Roland Dreier wrote:
> > Is it possible to use __raw_*() in portable code? I have some places

> > instead of what I really mean, which is:
> >
> > __raw_writel(cpu_to_be32(val), addr);
>
> should work, and if you start using it, and the driver is relevant, I'm
> sure other architectures will implement the __raw_ interfaces too. In the
> meantime, please just make it conditional on the proper architectures.

Yep, as soon as we _need_ them, m68k will get them...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/