aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pgtable-ppc64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/pgtable-ppc64.h')
-rw-r--r--arch/powerpc/include/asm/pgtable-ppc64.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/include/asm/pgtable-ppc64.h b/arch/powerpc/include/asm/pgtable-ppc64.h
index 8f9da5e32fea..6c9323f3ab54 100644
--- a/arch/powerpc/include/asm/pgtable-ppc64.h
+++ b/arch/powerpc/include/asm/pgtable-ppc64.h
@@ -368,19 +368,6 @@ static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea)
368 return pt; 368 return pt;
369} 369}
370 370
371#ifdef CONFIG_HUGETLB_PAGE
372pte_t *find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea,
373 unsigned *shift);
374#else
375static inline pte_t *find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea,
376 unsigned *shift)
377{
378 if (shift)
379 *shift = 0;
380 return find_linux_pte(pgdir, ea);
381}
382#endif /* !CONFIG_HUGETLB_PAGE */
383
384#endif /* __ASSEMBLY__ */ 371#endif /* __ASSEMBLY__ */
385 372
386/* 373/*