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)
committerMark Brown <broonie@linaro.org>
Mon, 16 Jun 2014 20:15:17 +0000 (21:15 +0100)
commitd32aff8a5a18d5732279cb88cb6fecdc259cfab1
treecba7ef7cb3693fbfaf829e180a7a20bcfe6b92fa
parentb082f48205a0c8f3294f7de0852ac379a76fdc08
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>
(cherry picked from commit 272686bf46a34f86d270cf192f68769667792026)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/ia64/kernel/efi.c
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c
include/linux/efi.h