efi: Add separate 32-bit/64-bit definitions
authorMatt Fleming <matt.fleming@intel.com>
Fri, 10 Jan 2014 13:47:37 +0000 (13:47 +0000)
committerMark Brown <broonie@linaro.org>
Thu, 24 Jul 2014 21:56:50 +0000 (22:56 +0100)
commite42ede8c5eb6b81188aeb6e6e2c2de99dbd8bcd7
tree6605a68e8aec1d8472e161fff2293713f6e9f6b6
parent59f8fdc6a7b7f45186cbf26e059417b99218ce7a
efi: Add separate 32-bit/64-bit definitions

The traditional approach of using machine-specific types such as
'unsigned long' does not allow the kernel to interact with firmware
running in a different CPU mode, e.g. 64-bit kernel with 32-bit EFI.

Add distinct EFI structure definitions for both 32-bit and 64-bit so
that we can use them in the 32-bit and 64-bit code paths.

Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
(cherry picked from commit 677703cef0a148ba07d37ced649ad25b1cda2f78)
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
include/linux/efi.h
arch/x86/boot/compressed/eboot.h
include/linux/efi.h