summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pat.h
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2009-07-10 18:57:32 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-08-27 00:40:58 +0200
commit5fc517466dd3d0fc6d2a5180ca6792e60344d8be (patch)
tree75fd75c8773848359e96dfb68ce37a2872a32a8e /arch/x86/include/asm/pat.h
parentx86, mtrr: make mtrr_aps_delayed_init static bool (diff)
downloadlinux-5fc517466dd3d0fc6d2a5180ca6792e60344d8be.tar.xz
linux-5fc517466dd3d0fc6d2a5180ca6792e60344d8be.zip
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 <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/pat.h')
0 files changed, 0 insertions, 0 deletions