alacrityvm-next: clearly specify ioq endianness
From: Ira W. Snyder
Date: Tue Dec 08 2009 - 15:57:51 EST
This is a respin of the previous patch series against alacrityvm.git's
linux-next branch, to facilitate easier merging with the linux-next tree.
The SHM_SIGNAL and IOQ code is meant to be used for communication channels
between systems with different bit widths and operating systems.
Conceivably, this could include systems with different endianness as well,
for example, using QEMU on x86 to emulate a powerpc.
This patch series annotates all shared structures as little endian, and
fixes up all users. This means that there is no overhead in the most common
case, x86-on-x86. The byteswaps compile out.
[RESEND: added LKML to CC per Greg Haskins' request]
drivers/net/vbus-enet.c | 36 ++++++++++++++++++------------------
drivers/vbus/bus-proxy.c | 2 +-
drivers/vbus/pci-bridge.c | 18 +++++++++---------
include/linux/ioq.h | 24 ++++++++++++------------
include/linux/shm_signal.h | 8 ++++----
lib/ioq.c | 28 ++++++++++++++++------------
6 files changed, 60 insertions(+), 56 deletions(-)
Thanks,
Ira
--
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/