powerpc: Make NUMA device node code endian safe
authorAlistair Popple <alistair@popple.id.au>
Tue, 6 Aug 2013 16:01:44 +0000 (02:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 05:33:33 +0000 (15:33 +1000)
The device tree is big endian so make sure we byteswap on little
endian. We assume any pHyp calls also return big endian results in
memory.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c

Simple merge