]> err.no Git - linux-2.6/commit
x86: PAT avoid aliasing in /dev/mem read/write
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Wed, 19 Mar 2008 00:00:15 +0000 (17:00 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:40:47 +0000 (23:40 +0200)
commite045fb2a988a9a1964059b0d33dbaf18d12f925f
tree61dbd03abd83dcf6d5195fa6463ea96e125784f6
parente2beb3eae627211b67e456c53f946cede2ac10d7
x86: PAT avoid aliasing in /dev/mem read/write

Add xlate and unxlate around /dev/mem read/write. This sets up the mapping
that can be used for /dev/mem read and write without aliasing worries.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/ioremap.c
drivers/char/mem.c
include/asm-x86/io.h
include/asm-x86/io_32.h
include/asm-x86/io_64.h