diff options
author | Venkatesh Pallipadi <[email protected]> | 2009-07-10 09:57:41 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2009-08-26 15:41:35 -0700 |
commit | d886c73cd4cf02a71e1650cbcb6176799d78aac1 (patch) | |
tree | b7bf968f5d9661e4d6fd56b35386556779194df1 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 1087637616dd5e96d834164ea462aed6159d039b (diff) |
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 <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions