powerpc: Make logical to real cpu mapping code endian safe
authorAnton Blanchard <anton@samba.org>
Tue, 6 Aug 2013 16:01:32 +0000 (02:01 +1000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 23:32:16 +0000 (00:32 +0100)
commit86e059f8367c5fc34bbe2350cc6a8c78335f4c58
tree78dea6b50fbadd448f5aa298e072d7c2240d538a
parente658cbfdf7032cab063e4c9a918bd49daed1cddc
powerpc: Make logical to real cpu mapping code endian safe

commit ac13282dff13cd0f4da0f0ccb134bc29bfa10255 upstream.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[jt: fixed up context due to commit 59a53afe70fd530040bdc69581f03d880157f15a
     already being backported.]
Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com>
Reviewed-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Acked-by: Curt Brune <curt@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/kernel/setup-common.c