[PATCH v3 5/5] efi: x86: make efi_lookup_mapped_addr() a common function

2013-08-07 Thread Leif Lindholm
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 --- arch/x86/platform/efi/efi.c | 30 ++

[PATCH v3 5/5] efi: x86: make efi_lookup_mapped_addr() a common function

2013-08-07 Thread Leif Lindholm
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.lindh...@linaro.org --- arch/x86/platform/efi/efi.c | 30