diff options
author | Matt Fleming <[email protected]> | 2016-06-21 23:11:38 +0100 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2016-09-09 16:06:34 +0100 |
commit | 4971531af319f8bdd9a81a87eecfb6b19f2f8c8e (patch) | |
tree | 729932471d136917598dc576d47ff6429a9791ea /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c6935931c1894ff857616ff8549b61236a19148f (diff) |
x86/efi: Test for EFI_MEMMAP functionality when iterating EFI memmap
Both efi_find_mirror() and efi_fake_memmap() really want to know
whether the EFI memory map is available, not just whether the machine
was booted using EFI. efi_fake_memmap() even has a check for
EFI_MEMMAP at the start of the function.
Since we've already got other code that has this dependency, merge
everything under one if() conditional, and remove the now superfluous
check from efi_fake_memmap().
Tested-by: Dave Young <[email protected]> [kexec/kdump]
Tested-by: Ard Biesheuvel <[email protected]> [arm]
Acked-by: Ard Biesheuvel <[email protected]>
Cc: Taku Izumi <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Xishi Qiu <[email protected]>
Cc: Kamezawa Hiroyuki <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions