Commit 45b33eb2 authored by Laurent Dufour's avatar Laurent Dufour Committed by Simon Horman
Browse files

ppc64/kdump: Fix ELF header endianess



The ELF header created among the loading of the kdump kernel should be
flagged using the current endianess and not always as big endian.

Without this patch the data exposed in /proc/vmcore are not readable when
running in LE mode.

Signed-off-by: default avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 046d1755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment