]> git.baikalelectronics.ru Git - kernel.git/commit
x86 PAT: consolidate old memtype new memtype check into a function
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Sat, 10 Jan 2009 00:13:10 +0000 (16:13 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Jan 2009 18:13:00 +0000 (19:13 +0100)
commit1a1018fe69a453d231722086d1906a5de5507323
treee817ea903498dcce184a758efb44d6e29223cfa3
parent76f52b01ea044d05c7b80b74aefb250ba484429b
x86 PAT: consolidate old memtype new memtype check into a function

Impact: cleanup

Move the new memtype old memtype allowed check to header so that is can be
shared by other users. Subsequent patch uses this in pat.c in remap_pfn_range()
code path. No functionality change in this patch.

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/include/asm/pgtable.h
arch/x86/pci/i386.c