diff options
author | Jacob Shin <jacob.shin@amd.com> | 2012-11-17 03:38:47 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-11-17 19:59:08 (GMT) |
commit | 4eea6aa581abfeb2695ebe9f9d4672597e1bdd4b (patch) | |
tree | ce814a181c41d9f5ae832b437252dac371db216c /arch/x86/include/asm/page_types.h | |
parent | dd7dfad7fb297b1746bcdbebbdc970d723a635bd (diff) | |
download | linux-fsl-qoriq-4eea6aa581abfeb2695ebe9f9d4672597e1bdd4b.tar.xz |
x86, mm: if kernel .text .data .bss are not marked as E820_RAM, complain and fix
There could be cases where user supplied memmap=exactmap memory
mappings do not mark the region where the kernel .text .data and
.bss reside as E820_RAM, as reported here:
https://lkml.org/lkml/2012/8/14/86
Handle it by complaining, and adding the range back into the e820.
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Link: http://lkml.kernel.org/r/1353123563-3103-11-git-send-email-yinghai@kernel.org
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/page_types.h')
0 files changed, 0 insertions, 0 deletions