Yinghai Lu 0e691cf824 x86, kexec, 64bit: Only set ident mapping for ram.
We should set mappings only for usable memory ranges under max_pfn
Otherwise causes same problem that is fixed by

	x86, mm: Only direct map addresses that are marked as E820_RAM

This patch exposes pfn_mapped array, and only sets ident mapping for ranges
in that array.

This patch relies on new kernel_ident_mapping_init that could handle existing
pgd/pud between different calls.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-25-git-send-email-yinghai@kernel.org
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2013-01-29 15:26:35 -08:00
..
2012-06-06 11:58:38 +02:00
2013-01-18 12:02:52 -08:00
2013-01-29 15:25:45 -08:00
2011-07-01 10:37:14 +02:00
2012-08-22 09:34:24 +02:00
2012-05-08 14:08:44 +02:00
2012-09-20 14:48:16 +02:00
2012-03-28 18:11:12 +01:00
2012-11-13 15:48:27 -05:00
2013-01-29 15:21:05 -08:00
2012-05-14 11:49:38 +02:00
2012-03-28 18:11:12 +01:00
2012-11-14 15:28:11 -08:00
2011-03-18 10:39:30 +01:00