OSDN Git Service

powerpc: Fix endian issue in setup-common.c
authorAnton Blanchard <anton@samba.org>
Thu, 12 Dec 2013 04:59:35 +0000 (15:59 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Dec 2013 04:48:34 +0000 (15:48 +1100)
commit01666c8ee2b6afcd31de2064fbb7c097a75e5089
tree466b1b8e114dcd7912389f1d165c4b4a38fc768f
parent36aa1b180e7398e2bd27642760bfaa4ad8c65ab6
powerpc: Fix endian issue in setup-common.c

During on LE boot we see:

    Partition configured for 1073741824 cpus, operating system maximum is 2048.

Clearly missing a byteswap here.

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