From: Samuel Mendoza-Jonas Date: Wed, 22 Jul 2015 05:50:50 +0000 (+1000) Subject: powerpc/kexec: Reset secondary cpu endianness before kexec X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffebf5f391dfa9da3e086abad3eef7d3e5300249;p=pandora-kernel.git powerpc/kexec: Reset secondary cpu endianness before kexec If the target kernel does not inlcude the FIXUP_ENDIAN check, coming from a different-endian kernel will cause the target kernel to panic. All ppc64 kernels can handle starting in big-endian mode, so return to big-endian before branching into the target kernel. This mainly affects pseries as secondaries on powernv are returned to OPAL. Signed-off-by: Samuel Mendoza-Jonas Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed