diff options
author | Baoquan He <[email protected]> | 2017-08-16 21:46:51 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-17 10:50:57 +0200 |
commit | 02e43c2dcd3b3cf7244f6dda65a07e8dacadaf8d (patch) | |
tree | a33b802734e0ee58aa4dd3bd1539bf09b6e22901 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2257e268b1154966c5b0141b23695db1043ff39d (diff) |
efi: Introduce efi_early_memdesc_ptr to get pointer to memmap descriptor
The existing map iteration helper for_each_efi_memory_desc_in_map can
only be used after the kernel initializes the EFI subsystem to set up
struct efi_memory_map.
Before that we also need iterate map descriptors which are stored in several
intermediate structures, like struct efi_boot_memmap for arch independent
usage and struct efi_info for x86 arch only.
Introduce efi_early_memdesc_ptr() to get pointer to a map descriptor, and
replace several places where that primitive is open coded.
Signed-off-by: Baoquan He <[email protected]>
[ Various improvements to the text. ]
Acked-by: Matt Fleming <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/20170816134651.GF21273@x1
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions