aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/hugetlb.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-08-08 15:36:34 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-10 22:12:35 +1000
commit646dbe40fa2a54118975792fa9b98cefac7d232e (patch)
tree73a20db010e5b737a7c7206b0084af0072af9adb /arch/powerpc/include/asm/hugetlb.h
parentpowerpc/lib: Use patch_site to patch copy_32 functions once cache is enabled (diff)
downloadlinux-dev-646dbe40fa2a54118975792fa9b98cefac7d232e.tar.xz
linux-dev-646dbe40fa2a54118975792fa9b98cefac7d232e.zip
powerpc/mm: remove huge_pte_offset_and_shift() prototype
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>
Diffstat (limited to 'arch/powerpc/include/asm/hugetlb.h')
-rw-r--r--arch/powerpc/include/asm/hugetlb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/hugetlb.h b/arch/powerpc/include/asm/hugetlb.h
index 3225eb6402cc..2d00cc530083 100644
--- a/arch/powerpc/include/asm/hugetlb.h
+++ b/arch/powerpc/include/asm/hugetlb.h
@@ -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,