powerpc/pseries: Fix endian issues in /proc/ppc64/lparcfg
authorAnton Blanchard <anton@samba.org>
Thu, 12 Dec 2013 04:59:37 +0000 (15:59 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Dec 2013 04:48:35 +0000 (15:48 +1100)
Some obvious issues:

cat /proc/ppc64/lparcfg
...
partition_id=16777216
...
partition_potential_processors=268435456

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/lparcfg.c