summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_smu_sensors.c
diff options
context:
space:
mode:
authorCedric Le Goater <clg@fr.ibm.com>2013-10-30 17:47:08 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-31 05:37:28 +0400
commitc81095a465b2c1cd819fb14ee3cd07bc1b377af1 (patch)
treeee9eb8e0c6f30ae8d7c5adf47d12abd1e81fca18 /drivers/macintosh/windfarm_smu_sensors.c
parent563c5d8af5d56739bc31f9f4b1c8a0994ed5742c (diff)
downloadlinux-c81095a465b2c1cd819fb14ee3cd07bc1b377af1.tar.xz
powerpc/nvram: Fix endian issue when using the partition length
When reading partitions, the length has to be translated from big endian to the endian order of the host. Similarly, when writing partitions, the length needs to be in big endian order. The userspace tool 'nvram' needs a similar fix as it is reading and writing partitions through /dev/nram : http://sourceforge.net/p/powerpc-utils/mailman/message/31571277/ Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/windfarm_smu_sensors.c')
0 files changed, 0 insertions, 0 deletions