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>
This commit is contained in:
Thomas Falcon 2014-08-19 15:44:57 -05:00 • committed by Michael Ellerman
commit c9ac408bc7