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

2013-08-05 Thread Matt Fleming
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 > --- >

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

2013-08-05 Thread Matt Fleming
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.lindh...@linaro.org

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

2013-08-02 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 v2 5/5] efi: x86: make efi_lookup_mapped_addr() a common function

2013-08-02 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