summaryrefslogtreecommitdiff
path: root/purgatory/printf.c
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>2014-04-28 12:26:50 +0200
committerSimon Horman <horms@verge.net.au>2014-04-29 10:59:00 +0900
commit90853885a859e42b0ff6935199bf6fceda1c6a87 (patch)
treef89b73f4fb9c45b397e5fc122e4c190856a8970f /purgatory/printf.c
parent64df62873443eb3080c059fd366f1f38d3c380d4 (diff)
ppc64/purgatory: Device tree values should be read/stored in Big Endian
The purgatory code reads the device tree's version and stores if needed the currently running CPU number. These 2 values are stored in Big Endian format in the device tree and should be byte swapped when running in Little Endian mode. Without this fix, when running in SMP environment, kexec or kdump kernel may fail booting with the following message : Failed to identify boot CPU Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/printf.c')
0 files changed, 0 insertions, 0 deletions