diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 13:33:55 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:55 +0100 |
commit | a2172e2586f6662af996e47f417bb718c37cf8d2 (patch) | |
tree | f2430abad9fd9417653a3a2faa472d9df0c308bd /include/asm-x86/efi.h | |
parent | x86: fix more non-global TLB flushes (diff) | |
download | linux-a2172e2586f6662af996e47f417bb718c37cf8d2.tar.xz linux-a2172e2586f6662af996e47f417bb718c37cf8d2.zip |
x86: fix some bugs about EFI runtime code mapping
This patch fixes some bugs of making EFI runtime code executable.
- Use change_page_attr in i386 too. Because the runtime code may be
mapped not through ioremap.
- If there is no _PAGE_NX in __supported_pte_mask, the change_page_attr
is not called.
- Make efi_ioremap map pages as PAGE_KERNEL_EXEC_NOCACHE, because EFI runtime
code may be mapped through efi_ioremap.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/efi.h')
-rw-r--r-- | include/asm-x86/efi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86/efi.h b/include/asm-x86/efi.h index 8380131ca542..9e08ae84795d 100644 --- a/include/asm-x86/efi.h +++ b/include/asm-x86/efi.h @@ -95,6 +95,5 @@ extern void *efi_ioremap(unsigned long offset, unsigned long size); extern void efi_reserve_bootmem(void); extern void efi_call_phys_prelog(void); extern void efi_call_phys_epilog(void); -extern void runtime_code_page_mkexec(void); #endif |