aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/mm/init.c')
-rw-r--r--arch/microblaze/mm/init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index 45b4bce606bb..40bc10ede097 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -207,14 +207,6 @@ void __init mem_init(void)
207} 207}
208 208
209#ifndef CONFIG_MMU 209#ifndef CONFIG_MMU
210/* Check against bounds of physical memory */
211int ___range_ok(unsigned long addr, unsigned long size)
212{
213 return ((addr < memory_start) ||
214 ((addr + size) > memory_end));
215}
216EXPORT_SYMBOL(___range_ok);
217
218int page_is_ram(unsigned long pfn) 210int page_is_ram(unsigned long pfn)
219{ 211{
220 return __range_ok(pfn, 0); 212 return __range_ok(pfn, 0);