]> git.baikalelectronics.ru Git - kernel.git/commit
x86, 64bit, realmode: Use init_level4_pgt to set trampoline_pgd directly
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Jan 2013 20:19:50 +0000 (12:19 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 Jan 2013 23:12:30 +0000 (15:12 -0800)
commit5a029be837ab3af0c640a5ad9c3b4aa2c13a7bde
tree778616a43f3734ee2411a10ca089712e6fc6f9f4
parent6a5e7fd9c11db9a3f0cae191741f761a6813d30d
x86, 64bit, realmode: Use init_level4_pgt to set trampoline_pgd directly

with #PF handler way to set early page table, level3_ident will go away with
64bit native path.

So just use entries in init_level4_pgt to set them in trampoline_pgd.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-10-git-send-email-yinghai@kernel.org
Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Acked-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/realmode/init.c