x86, PAT: disable /dev/mem mmap RAM with PAT
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>
Sat, 26 Apr 2008 18:32:12 +0000 (11:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 19:28:29 +0000 (21:28 +0200)
commit0124cecfc85a6664b1ad5f1d28cf0ab8df66fc42
treedfbbb8cf4a294ed52dc9a224ccb57ea601d25532
parent4a27214d7be31e122db4102166f49ec15958e8e9
x86, PAT: disable /dev/mem mmap RAM with PAT

disable /dev/mem mmap of RAM with PAT. It makes things safer and
eliminates aliasing. A future improvement would be to avoid the
range_is_allowed duplication.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pat.c