[PATCH] powerpc/mm: remove huge_pte_offset_and_shift() prototype

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2911d

2 messages, 2 authors, 2018-08-13 · open the first message on its own page

[PATCH] powerpc/mm: remove huge_pte_offset_and_shift() prototype

From: Christophe Leroy <hidden>
Date: 2018-08-08 15:36:38

huge_pte_offset_and_shift() has never existed

Signed-off-by: Christophe Leroy <redacted>
---
 arch/powerpc/include/asm/hugetlb.h | 3 ---
 1 file changed, 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,
-- 
2.13.3

Re: powerpc/mm: remove huge_pte_offset_and_shift() prototype

From: Michael Ellerman <hidden>
Date: 2018-08-13 11:23:20

On Wed, 2018-08-08 at 15:36:34 UTC, Christophe Leroy wrote:
huge_pte_offset_and_shift() has never existed

Signed-off-by: Christophe Leroy <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/646dbe40fa2a54118975792fa9b98c

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help