aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/pgtable_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c
index 341472440137..cd5609759d44 100644
--- a/arch/powerpc/mm/pgtable_32.c
+++ b/arch/powerpc/mm/pgtable_32.c
@@ -173,6 +173,7 @@ __ioremap(phys_addr_t addr, unsigned long size, unsigned long flags)
173 if (p < 16*1024*1024) 173 if (p < 16*1024*1024)
174 p += _ISA_MEM_BASE; 174 p += _ISA_MEM_BASE;
175 175
176#ifndef CONFIG_CRASH_DUMP
176 /* 177 /*
177 * Don't allow anybody to remap normal RAM that we're using. 178 * Don't allow anybody to remap normal RAM that we're using.
178 * mem_init() sets high_memory so only do the check after that. 179 * mem_init() sets high_memory so only do the check after that.
@@ -182,6 +183,7 @@ __ioremap(phys_addr_t addr, unsigned long size, unsigned long flags)
182 (unsigned long long)p, __builtin_return_address(0)); 183 (unsigned long long)p, __builtin_return_address(0));
183 return NULL; 184 return NULL;
184 } 185 }
186#endif
185 187
186 if (size == 0) 188 if (size == 0)
187 return NULL; 189 return NULL;