From: Huang, Ying Date: Wed, 30 Jan 2008 12:33:55 +0000 (+0100) Subject: x86: fix some bugs about EFI runtime code mapping X-Git-Tag: v2.6.25-rc1~1143^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2172e2586f6662af996e47f417bb718c37cf8d2;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed