x86, kexec: Set ident mapping for kernel that is above max_pfn
commit084d1283986a530828b8898f206adf44d5d3146d
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Jan 2013 20:20:03 +0000 (24 12:20 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 Jan 2013 23:26:26 +0000 (29 15:26 -0800)
treecc05f142d48e05d2e2bcf260ec61d5d351dc77af
parent577af55d802d9fe114287e750504e09e7c677c9c
x86, kexec: Set ident mapping for kernel that is above max_pfn

When first kernel is booted with memmap= or mem=  to limit max_pfn.
kexec can load second kernel above that max_pfn.

We need to set ident mapping for whole image in this case instead of just
for first 2M.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-23-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/machine_kexec_64.c