From: Jacob Shin Date: Sat, 17 Nov 2012 03:38:48 +0000 (-0800) Subject: x86, mm: Fixup code testing if a pfn is direct mapped X-Git-Tag: v3.9-rc1~105^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda56e134059b840631fdfd034784056b627c2a6;p=pandora-kernel.git x86, mm: Fixup code testing if a pfn is direct mapped Update code that previously assumed pfns [ 0 - max_low_pfn_mapped ) and [ 4GB - max_pfn_mapped ) were always direct mapped, to now look up pfn_mapped ranges instead. -v2: change applying sequence to keep git bisecting working. so add dummy pfn_range_is_mapped(). - Yinghai Lu Signed-off-by: Jacob Shin Link: http://lkml.kernel.org/r/1353123563-3103-12-git-send-email-yinghai@kernel.org Signed-off-by: Yinghai Lu Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed