diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2013-09-05 11:34:55 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-09-05 13:29:29 +0100 |
commit | 258f6fd738221766b512cd8c7120563b78d62829 (patch) | |
tree | f2796181d313ef0cb9f0d516fd6a63e910d8b9a7 /include/linux/efi.h | |
parent | 272686bf46a34f86d270cf192f68769667792026 (diff) |
efi: x86: make efi_lookup_mapped_addr() a common function
efi_lookup_mapped_addr() is a handy utility for other platforms than
x86. Move it from arch/x86 to drivers/firmware. Add memmap pointer
to global efi structure, and initialise it on x86.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 09d9e4212799..c084b6d942c3 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -558,6 +558,7 @@ extern struct efi { efi_get_next_high_mono_count_t *get_next_high_mono_count; efi_reset_system_t *reset_system; efi_set_virtual_address_map_t *set_virtual_address_map; + struct efi_memory_map *memmap; } efi; static inline int |