diff options
author | Matthew Garrett <mjg@redhat.com> | 2011-05-05 21:19:43 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-05-09 21:14:29 +0200 |
commit | 9cd2b07c197e3ff594fc04f5fb3d86efbeab6ad8 (patch) | |
tree | 40aa951f7f8dfa34725195078cbd24f78fb58b04 /arch/x86/include/asm/efi.h | |
parent | x86, efi: Remove virtual-mode SetVirtualAddressMap call (diff) | |
download | linux-9cd2b07c197e3ff594fc04f5fb3d86efbeab6ad8.tar.xz linux-9cd2b07c197e3ff594fc04f5fb3d86efbeab6ad8.zip |
x86, efi: Consolidate EFI nx control
The core EFI code and 64-bit EFI code currently have independent
implementations of code for setting memory regions as executable or not.
Let's consolidate them.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Link: http://lkml.kernel.org/r/1304623186-18261-2-git-send-email-mjg@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/efi.h')
-rw-r--r-- | arch/x86/include/asm/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index 8e4a16508d4e..7093e4a6a0bc 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h @@ -90,6 +90,7 @@ extern void __iomem *efi_ioremap(unsigned long addr, unsigned long size, #endif /* CONFIG_X86_32 */ extern int add_efi_memmap; +extern void efi_set_executable(efi_memory_desc_t *md, bool executable); extern void efi_memblock_x86_reserve_range(void); extern void efi_call_phys_prelog(void); extern void efi_call_phys_epilog(void); |