efi: x86: ia64: provide a generic efi_config_init()
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 5 Sep 2013 10:34:54 +0000 (11:34 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 5 Sep 2013 12:29:29 +0000 (13:29 +0100)
commit272686bf46a34f86d270cf192f68769667792026
tree4a2ac56e098cc6477ad50839fd5db40719867bd0
parentd02d0545f1fc62302fd9973a530b8029f1d9a9f1
efi: x86: ia64: provide a generic efi_config_init()

Common to (U)EFI support on all platforms is the global "efi" data
structure, and the code that parses the System Table to locate
addresses to populate that structure with.

This patch adds both of these to the global EFI driver code and
removes the local definition of the global "efi" data structure from
the x86 and ia64 code.

Squashed into one big patch to avoid breaking bisection.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/ia64/kernel/efi.c
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c
include/linux/efi.h