aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/ioremap.c
diff options
context:
space:
mode:
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>2008-03-25 19:51:26 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:20 -0400
commitb450e5e816d10893e17f57b3eb9d29c52635862a (patch)
tree8174ca84b295775592f555f36bcc89da527f2340 /arch/x86/mm/ioremap.c
parentdee7cbb210fdd266ad81af4689bcbac3649f38ff (diff)
x86: PAT bug fix for attribute type check after reserve_memtype, debug
Make the PAT related printks in ioremap pr_debug. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/ioremap.c')
-rw-r--r--arch/x86/mm/ioremap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index 3f7f05e2c434..7338c5d3dd37 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -167,7 +167,7 @@ static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size,
167 retval = reserve_memtype(phys_addr, phys_addr + size, 167 retval = reserve_memtype(phys_addr, phys_addr + size,
168 prot_val, &new_prot_val); 168 prot_val, &new_prot_val);
169 if (retval) { 169 if (retval) {
170 printk("reserve_memtype returned %d\n", retval); 170 pr_debug("Warning: reserve_memtype returned %d\n", retval);
171 return NULL; 171 return NULL;
172 } 172 }
173 173
@@ -184,7 +184,7 @@ static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size,
184 new_prot_val == _PAGE_CACHE_WC)) || 184 new_prot_val == _PAGE_CACHE_WC)) ||
185 (prot_val == _PAGE_CACHE_WC && 185 (prot_val == _PAGE_CACHE_WC &&
186 new_prot_val == _PAGE_CACHE_WB)) { 186 new_prot_val == _PAGE_CACHE_WB)) {
187 printk( 187 pr_debug(
188 "ioremap error for 0x%llx-0x%llx, requested 0x%lx, got 0x%lx\n", 188 "ioremap error for 0x%llx-0x%llx, requested 0x%lx, got 0x%lx\n",
189 phys_addr, phys_addr + size, 189 phys_addr, phys_addr + size,
190 prot_val, new_prot_val); 190 prot_val, new_prot_val);