x86, kexec: Replace ident_mapping_init and init_level4_page
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Jan 2013 20:20:04 +0000 (12:20 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 Jan 2013 23:26:29 +0000 (15:26 -0800)
commit9ebdc79f7a177d3098b89ba8ef2dd2b235163685
tree6b4f765d5056aa2b52ccb074bc6f9061f3264e42
parent084d1283986a530828b8898f206adf44d5d3146d
x86, kexec: Replace ident_mapping_init and init_level4_page

Now ident_mapping_init is checking if pgd/pud is present for every 2M,
so several 2Ms are in same PUD, it will keep checking if pud is there
with same pud.

init_level4_page just does not check existing pgd/pud.

We could use generic mapping_init with different settings in info to
replace those two local grown version functions.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-24-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/machine_kexec_64.c
This page took 0.026659 seconds and 5 git commands to generate.