[PATCH] ppc32: Big-endian I/O memory accessors.

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Aug 22 07:22:41 EST 2005

On Sat, 2005-08-20 at 21:16 -0400, Arthur Othieno wrote:
> I/O memory accessors. Big-endian version. For those busses/devices
> that do export big-endian I/O memory.
> Of notable relevance/reference:
>    http://lwn.net/Articles/132804/
>    http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019798.html
>    http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019752.html
> Signed-Off-By: Arthur Othieno <a.othieno at bluewin.ch>

No, that's not correct. You need to use the in_be/out_be variants which
provide proper memory barriers.


More information about the Linuxppc-dev mailing list