From: Venkatesh Pallipadi Date: Fri, 10 Jul 2009 16:57:41 +0000 (-0700) Subject: x86, pat: Sanity check remap_pfn_range for RAM region X-Git-Tag: v2.6.32-rc1~680^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d886c73cd4cf02a71e1650cbcb6176799d78aac1;p=pandora-kernel.git 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 Signed-off-by: Suresh Siddha Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed