VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexandre Ghiti <alex@ghiti.fr> 2018-10-26 15:08:07 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-10-26 16:26:34 -0700 commit: cea685d556330b0265ca62c0d820f687cc9a38d6 parent: 1e5f50fc9d0a653c910df2291f245a8fa7beed11
Commit Summary:
hugetlb: introduce generic version of set_huge_pte_at()
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/arch/ia64/include/asm/hugetlb.h b/arch/ia64/include/asm/hugetlb.h
index afe9fa4d969b..a235d6f60fb3 100644
--- a/arch/ia64/include/asm/hugetlb.h
+++ b/arch/ia64/include/asm/hugetlb.h
@@ -20,12 +20,6 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
 		REGION_NUMBER((addr)+(len)-1) == RGN_HPAGE);
 }
 
-static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
-				   pte_t *ptep, pte_t pte)
-{
-	set_pte_at(mm, addr, ptep, pte);
-}
-
 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
 					    unsigned long addr, pte_t *ptep)
 {