]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: PAT use reserve free memtype in mmap of /dev/mem
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Wed, 19 Mar 2008 00:00:21 +0000 (17:00 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:40:47 +0000 (23:40 +0200)
commite7f260a276f2c9184fe753732d834b1f6fbe9f17
treea3189a6f29dd89f4bd91002a4cc9cb05dc9c9c63
parentf0970c13b6a5b01189aeb196ebb573cf87d95839
x86: PAT use reserve free memtype in mmap of /dev/mem

Use reserve_memtype and free_memtype wrappers for /dev/mem mmaps. The memtype
is slightly complicated here, given that we have to support existing X mappings.
We fallback on UC_MINUS for that.

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/pat.c
drivers/char/mem.c