VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Anshuman Khandual <anshuman.khandual@arm.com> 2020-06-03 16:01:01 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-06-03 20:09:46 -0700 commit: b0eae98c66fe4ccac3a5a79a1479c057f2c7cdd7 parent: be51e3fde5c10f269c065fdca2caf28e4708e21e
Commit Summary:
mm/hugetlb: define a generic fallback for is_hugepage_only_range()
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/arch/ia64/include/asm/hugetlb.h b/arch/ia64/include/asm/hugetlb.h
index 36cc0396b214..6ef50b9a4bdf 100644
--- a/arch/ia64/include/asm/hugetlb.h
+++ b/arch/ia64/include/asm/hugetlb.h
@@ -20,6 +20,7 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
 	return (REGION_NUMBER(addr) == RGN_HPAGE ||
 		REGION_NUMBER((addr)+(len)-1) == RGN_HPAGE);
 }
+#define is_hugepage_only_range is_hugepage_only_range
 
 #define __HAVE_ARCH_HUGE_PTEP_CLEAR_FLUSH
 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,