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)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 21:25:02 +0000 (21:25 +0000)
commit677703cef0a148ba07d37ced649ad25b1cda2f78
treeca0167133614d879ec0c0f97c390e0073c925870
parent099240ac111aac454962e6399c0cc51d1511504a
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>
arch/x86/boot/compressed/eboot.h
include/linux/efi.h