commit | 8eb5779f6b9c7e390c92f451edaafc039e06e743 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Fri Nov 16 19:38:49 2012 -0800 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Sat Nov 17 11:59:09 2012 -0800 |
tree | 6f1706d9fdf247b4c472d50187150f3c4ce1c787 | |
parent | dda56e134059b840631fdfd034784056b627c2a6 [diff] |
x86, mm: use pfn_range_is_mapped() with CPA We are going to map ram only, so under max_low_pfn_mapped, between 4g and max_pfn_mapped does not mean mapped at all. Use pfn_range_is_mapped() directly. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1353123563-3103-13-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>