aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/mm/mem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 8f335cf052f8..737f8a4632cc 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -82,11 +82,7 @@ static inline pte_t *virt_to_kpte(unsigned long vaddr)
82 82
83int page_is_ram(unsigned long pfn) 83int page_is_ram(unsigned long pfn)
84{ 84{
85#ifndef CONFIG_PPC64 /* XXX for now */
86 return pfn < max_pfn;
87#else
88 return memblock_is_memory(__pfn_to_phys(pfn)); 85 return memblock_is_memory(__pfn_to_phys(pfn));
89#endif
90} 86}
91 87
92pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 88pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,