summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/efi.c
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2009-07-10 18:57:41 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-08-27 00:41:35 +0200
commitd886c73cd4cf02a71e1650cbcb6176799d78aac1 (patch)
treeb7bf968f5d9661e4d6fd56b35386556779194df1 /arch/x86/kernel/efi.c
parentx86, pat: Lookup the protection from memtype list on vm_insert_pfn() (diff)
downloadlinux-d886c73cd4cf02a71e1650cbcb6176799d78aac1.tar.xz
linux-d886c73cd4cf02a71e1650cbcb6176799d78aac1.zip
x86, pat: Sanity check remap_pfn_range for RAM region
Add sanity check for remap_pfn_range of RAM regions using lookup_memtype(). Previously, we did not have anyway to get the type of RAM memory regions as they were tracked using a single bit in page_struct (WB, nonWB). Now we can get the actual type from page struct (WB, WC, UC_MINUS) and make sure the requester gets that type. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/efi.c')
0 files changed, 0 insertions, 0 deletions