aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_gart_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-11-16 19:38:49 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2012-11-17 11:59:09 -0800
commit8eb5779f6b9c7e390c92f451edaafc039e06e743 (patch)
tree6f1706d9fdf247b4c472d50187150f3c4ce1c787 /arch/x86/kernel/amd_gart_64.c
parentx86, mm: Fixup code testing if a pfn is direct mapped (diff)
downloadlinux-dev-8eb5779f6b9c7e390c92f451edaafc039e06e743.tar.xz
linux-dev-8eb5779f6b9c7e390c92f451edaafc039e06e743.zip
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>
Diffstat (limited to 'arch/x86/kernel/amd_gart_64.c')
0 files changed, 0 insertions, 0 deletions