]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitafc7d20c8429f32f19d47367fdc36eeed2334ec3
treee817ea903498dcce184a758efb44d6e29223cfa3
parenta36706131182f5507d1e2cfbf391b0fa8d72203c
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