From: Venkatesh Pallipadi Date: Fri, 10 Jul 2009 16:57:32 +0000 (-0700) Subject: x86, pat: Keep identity maps consistent with mmaps even when pat_disabled X-Git-Tag: v2.6.32-rc1~680^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fc517466dd3d0fc6d2a5180ca6792e60344d8be;p=pandora-kernel.git x86, pat: Keep identity maps consistent with mmaps even when pat_disabled Make reserve_memtype internally take care of pat disabled case and fallback to default return values. Remove the specific pat_disabled checks in track_* routines. Change kernel_map_sync_memtype to sync identity map even when pat_disabled. This change ensures that, even for pat_disabled case, we take care of keeping identity map in sync. Before this patch, in pat disabled case, ioremap() keeps the identity maps in sync and other APIs like pci and /dev/mem mmap don't, which is not a very consistent behavior. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Suresh Siddha Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed