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

Matt Fleming
2013-08-05T12:26:33Z

On Fri, 02 Aug, at 05:56:22PM, Leif Lindholm wrote:
> 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>
> ---
> arch/x86/platform/efi/efi.c | 30 ++----------------------------
> drivers/firmware/efi/efi.c | 32 ++++++++++++++++++++++++++++++++
> include/linux/efi.h | 1 +
> 3 files changed, 35 insertions(+), 28 deletions(-)

Looks good.

Tony, shout if you have any objection to modifying 'struct efi'.

--
Matt Fleming, Intel Open Source Technology Center