x86/efi: Fix 32-bit fallout
authorBorislav Petkov <bp@suse.de>
Fri, 14 Feb 2014 07:24:24 +0000 (08:24 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 14 Feb 2014 09:30:19 +0000 (09:30 +0000)
commitc55d016f7a930dd1c995336017123b469a8c8f5a
tree428d313b67fe1cf2fc9e3c9e1ecc8e989726059f
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed
x86/efi: Fix 32-bit fallout

We do not enable the new efi memmap on 32-bit and thus we need to run
runtime_code_page_mkexec() unconditionally there. Fix that.

Reported-and-tested-by: Lejun Zhu <lejun.zhu@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/include/asm/efi.h
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/efi_32.c
arch/x86/platform/efi/efi_64.c