]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac15a68318467d0180d23b445b814a30cadf1bea
tree466b1b8e114dcd7912389f1d165c4b4a38fc768f
parente755a4edc337fd7c695b65f7b224dc4bee5d79f4
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