diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-08-26 20:17:51 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-26 20:24:28 -0400 |
commit | b855192c08fcb14adbc5d3a7cab182022d433cca (patch) | |
tree | 3a10cafbfbf98cafacf667eb218c71300b351bfa /arch/x86/mm/ioremap.c | |
parent | d886c73cd4cf02a71e1650cbcb6176799d78aac1 (diff) | |
parent | 3e0e1e9c5a327d4dba8490d83ef55c0564e6e8a7 (diff) |
Merge branch 'x86/urgent' into x86/pat
Reason: Change to is_new_memtype_allowed() in x86/urgent
Resolved semantic conflicts in:
arch/x86/mm/pat.c
arch/x86/mm/ioremap.c
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/mm/ioremap.c')
-rw-r--r-- | arch/x86/mm/ioremap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index aeaea8c5b2f4..2a76eba9da21 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -233,7 +233,8 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr, | |||
233 | } | 233 | } |
234 | 234 | ||
235 | if (prot_val != new_prot_val) { | 235 | if (prot_val != new_prot_val) { |
236 | if (!is_new_memtype_allowed(prot_val, new_prot_val)) { | 236 | if (!is_new_memtype_allowed(phys_addr, size, |
237 | prot_val, new_prot_val)) { | ||
237 | printk(KERN_ERR | 238 | printk(KERN_ERR |
238 | "ioremap error for 0x%llx-0x%llx, requested 0x%lx, got 0x%lx\n", | 239 | "ioremap error for 0x%llx-0x%llx, requested 0x%lx, got 0x%lx\n", |
239 | (unsigned long long)phys_addr, | 240 | (unsigned long long)phys_addr, |