x86, PAT: Remove duplicate memtype reserve in devmem mmap
authorSuresh Siddha <suresh.b.siddha@intel.com>
Thu, 9 Apr 2009 21:26:52 +0000 (14:26 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 11:55:48 +0000 (13:55 +0200)
commit0c3c8a18361a636069f5a5d9d0d0f9c2124e6b94
treef981571c3778083924be8de03445fc4c9ee5624b
parentb6ff32d9aaeeeecf98f9a852d715569183585312
x86, PAT: Remove duplicate memtype reserve in devmem mmap

/dev/mem mmap code was doing memtype reserve/free for a while now.
Recently we added memtype tracking in remap_pfn_range, and /dev/mem mmap
uses it indirectly. So, we don't need seperate tracking in /dev/mem code
any more. That means another ~100 lines of code removed :-).

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