[PATCH 14/14] arm/include/asm/io.h : added macros to read/write big/little endian register

Sebastian Andrzej Siewior bigeasy at linutronix.de
Tue Sep 6 00:28:03 EST 2011


* Benjamin Herrenschmidt | 2011-09-02 21:01:43 [+1000]:

>or better, switch to the newer iomap variants which should be
>provided in both endianness.

I know some ppc-mmu provide the capability to perform the endian swap
during page access. I wasn't aware that there is a kernel wide interface
for this. What do you do on architectures which don't provide this?

>Cheers,
>Ben.

Sebastian


More information about the Linuxppc-dev mailing list