powerpc: Fix topology core_id endian issue on LE builds
authorAnton Blanchard <anton@samba.org>
Thu, 12 Dec 2013 04:59:36 +0000 (15:59 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Dec 2013 04:48:34 +0000 (15:48 +1100)
commitf8a1883a833bbad8e6b5ec4f0918b7797e652d65
tree7f16fd63cc9ffd6fc218143c244e64265b2a475a
parent01666c8ee2b6afcd31de2064fbb7c097a75e5089
powerpc: Fix topology core_id endian issue on LE builds

cpu_to_core_id() is missing a byteswap:

cat /sys/devices/system/cpu/cpu63/topology/core_id
201326592

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