summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-08-08 17:36:34 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-10 14:12:35 +0200
commit646dbe40fa2a54118975792fa9b98cefac7d232e (patch)
tree73a20db010e5b737a7c7206b0084af0072af9adb /arch/powerpc
parentpowerpc/lib: Use patch_site to patch copy_32 functions once cache is enabled (diff)
downloadlinux-646dbe40fa2a54118975792fa9b98cefac7d232e.tar.xz
linux-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')
-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,