]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Fix endian issues in memory hotplug
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Tue, 19 Aug 2014 20:44:57 +0000 (15:44 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Sep 2014 00:37:00 +0000 (10:37 +1000)
commit35f41546a67e19e29466822b9d3a68af01bfd131
tree3f73d5caffcddbe8c39f97aae3fff983bcc203f4
parent6237e8e500a1f7f27aeba0beac5abaafca06367a
powerpc/pseries: Fix endian issues in memory hotplug

Values acquired from Open Firmware are in 32-bit big endian format
and need to be handled on little endian architectures.  This patch
ensures values are in cpu endian when hotplugging memory.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
arch/powerpc/platforms/pseries/hotplug-memory.c