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)
commitca5de4e652ea09c0c18ebbd12dd4c2149271245a
tree28ede61743db62da47d12f8ddecd80a1915eba9b
parentf8a1883a833bbad8e6b5ec4f0918b7797e652d65
powerpc/pseries: Fix endian issues in /proc/ppc64/lparcfg

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