[RESEND PATCH 0/4] Fix endianness of generic I/O accessors

From: Will Deacon
Date: Wed Oct 17 2012 - 11:45:50 EST


Hello,

This is a resend of the patches I originally sent a while back:

http://marc.info/?l=linux-kernel&m=133552356617938&w=2

There was some loose conclusion then that documentation needed to be
updated, which I didn't get round to doing. However, after discussion
with Ben at LPC (following his `Big and Little Endian inside/out'
presentation), he encouraged me to resend the patches anyway.

So here they are. I also included two extra patches to fix the MMC and
ethernet drivers used on the ARM64 model, which is where I came across
this issue in the first place.

Comments welcome,

Will

Big endian is not dead -- it just smells funny.


Will Deacon (4):
asm-generic: io: remove {read,write} string functions
asm-generic: io: don't perform swab during {in,out} string functions
mmc: mmci: use io{read,write}*_rep accessors instead of string
functions
net: smc91x: use io{read,write}*_rep accessors instead of string
functions

drivers/mmc/host/mmci.c | 8 +++---
drivers/net/ethernet/smsc/smc91x.h | 20 ++++++++--------
include/asm-generic/io.h | 42 +++++------------------------------
3 files changed, 20 insertions(+), 50 deletions(-)

--
1.7.4.1

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