aboutsummaryrefslogtreecommitdiff
path: root/drivers/macintosh/Kconfig
diff options
context:
space:
mode:
authorGravatar Cedric Le Goater <clg@fr.ibm.com> 2013-10-30 14:47:08 +0100
committerGravatar Benjamin Herrenschmidt <benh@kernel.crashing.org> 2013-10-31 12:37:28 +1100
commitc81095a465b2c1cd819fb14ee3cd07bc1b377af1 (patch)
treeee9eb8e0c6f30ae8d7c5adf47d12abd1e81fca18 /drivers/macintosh/Kconfig
parentpowerpc/nvram: Fix endian issue when reading the NVRAM size (diff)
downloadlinux-c81095a465b2c1cd819fb14ee3cd07bc1b377af1.tar.gz
linux-c81095a465b2c1cd819fb14ee3cd07bc1b377af1.tar.bz2
linux-c81095a465b2c1cd819fb14ee3cd07bc1b377af1.zip
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/Kconfig')
0 files changed, 0 insertions, 0 deletions