summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
authorYinghai Lu2013-01-24 21:19:47 +0100
committerH. Peter Anvin2013-01-30 00:12:25 +0100
commit231b3642a3c73fb9f1221dcb96fe8c0fbb658dfd (patch)
tree9e5c80dbe59150698b46cbdb38fde430113c8143 /arch/x86/mm/init_64.c
parentx86, 64bit, mm: Make pgd next calculation consistent with pud/pmd (diff)
downloadkernel-qcow2-linux-231b3642a3c73fb9f1221dcb96fe8c0fbb658dfd.tar.gz
kernel-qcow2-linux-231b3642a3c73fb9f1221dcb96fe8c0fbb658dfd.tar.xz
kernel-qcow2-linux-231b3642a3c73fb9f1221dcb96fe8c0fbb658dfd.zip
x86, realmode: Set real_mode permissions early
Trampoline code is executed by APs with kernel low mapping on 64bit. We need to set trampoline code to EXEC early before we boot APs. Found the problem after switching to #PF handler set page table, and we do not set initial kernel low mapping with EXEC anymore in arch/x86/kernel/head_64.S. Change to use early_initcall instead that will make sure trampoline will have EXEC set. -v2: Merge two comments according to Borislav Petkov <bp@alien8.de> Signed-off-by: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1359058816-7615-7-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/init_64.c')
0 files changed, 0 insertions, 0 deletions