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:22 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-10-26 16:26:34 -0700 commit: cae72abc1af0c1ef4cb39e7187c5af44a7ce17a4 parent: fe632225bdbd49f5620e7ccfa03268fec9a3e370
Commit Summary:
hugetlb: introduce generic version of huge_pte_none()
Diffstat:
1 file changed, 0 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/hugetlb.h b/arch/ia64/include/asm/hugetlb.h
index 41b5f6adeee4..bf573500b3c4 100644
--- a/arch/ia64/include/asm/hugetlb.h
+++ b/arch/ia64/include/asm/hugetlb.h
@@ -26,11 +26,6 @@ static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
 {
 }
 
-static inline int huge_pte_none(pte_t pte)
-{
-	return pte_none(pte);
-}
-
 static inline pte_t huge_pte_wrprotect(pte_t pte)
 {
 	return pte_wrprotect(pte);