aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/pgtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/pgtable.c')
-rw-r--r--arch/powerpc/mm/pgtable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/mm/pgtable.c b/arch/powerpc/mm/pgtable.c
index 81a3d7446d37..5792e533916f 100644
--- a/arch/powerpc/mm/pgtable.c
+++ b/arch/powerpc/mm/pgtable.c
@@ -190,8 +190,7 @@ __ioremap(phys_addr_t addr, unsigned long size, unsigned long flags)
190 * Don't allow anybody to remap normal RAM that we're using. 190 * Don't allow anybody to remap normal RAM that we're using.
191 * mem_init() sets high_memory so only do the check after that. 191 * mem_init() sets high_memory so only do the check after that.
192 */ 192 */
193 if ( mem_init_done && (p < virt_to_phys(high_memory)) ) 193 if (mem_init_done && (p < virt_to_phys(high_memory))) {
194 {
195 printk("__ioremap(): phys addr "PHYS_FMT" is RAM lr %p\n", p, 194 printk("__ioremap(): phys addr "PHYS_FMT" is RAM lr %p\n", p,
196 __builtin_return_address(0)); 195 __builtin_return_address(0));
197 return NULL; 196 return NULL;