x86, efi: Consolidate EFI nx control
authorMatthew Garrett <mjg@redhat.com>
Thu, 5 May 2011 19:19:43 +0000 (15:19 -0400)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2011 19:14:29 +0000 (12:14 -0700)
commit9cd2b07c197e3ff594fc04f5fb3d86efbeab6ad8
tree40aa951f7f8dfa34725195078cbd24f78fb58b04
parent2b5e8ef35bc89eee944c0627edacbb1fea5a1b84
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>
arch/x86/include/asm/efi.h
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/efi_64.c