diff options
| author | AKASHI Takahiro <[email protected]> | 2018-11-15 14:52:53 +0900 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-12-06 14:38:53 +0000 |
| commit | 702ed5bb75306c030ab6598b24b56ba8d21a48dd (patch) | |
| tree | 05ae1ec8203719284d85c8b04af487a8c0b43890 /tools/perf/scripts/python | |
| parent | 4c9e7e649a3f291e1b939299458e6844c16afe70 (diff) | |
include: pe.h: remove message[] from mz header definition
message[] field won't be part of the definition of mz header.
This change is crucial for enabling kexec_file_load on arm64 because
arm64's "Image" binary, as in PE format, doesn't have any data for it and
accordingly the following check in pefile_parse_binary() will fail:
chkaddr(cursor, mz->peaddr, sizeof(*pe));
Signed-off-by: AKASHI Takahiro <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Cc: David Howells <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions