]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74fbcd044d97daa671b6b133c8463a82c77e66d3
tree28ede61743db62da47d12f8ddecd80a1915eba9b
parent54fb986848fbbeb59fda299ba6dbee81a90aeea2
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