]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc/mm: remove huge_pte_offset_and_shift() prototype
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 8 Aug 2018 15:36:34 +0000 (15:36 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Aug 2018 12:12:35 +0000 (22:12 +1000)
huge_pte_offset_and_shift() has never existed

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hugetlb.h

index 3225eb6402cc61d5538d9a9e320dc651a78ab17a..2d00cc53008336d0044f24a41d32c26d815a9148 100644 (file)
@@ -84,9 +84,6 @@ static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr,
        return dir + idx;
 }
 
-pte_t *huge_pte_offset_and_shift(struct mm_struct *mm,
-                                unsigned long addr, unsigned *shift);
-
 void flush_dcache_icache_hugepage(struct page *page);
 
 int slice_is_hugepage_only_range(struct mm_struct *mm, unsigned long addr,