From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:43:03 +0000 Subject: [PATCH] add ax88772C AX88772C_eeprom_tools --- kernel/include/linux/hugetlb_inline.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/hugetlb_inline.h b/kernel/include/linux/hugetlb_inline.h index 0660a03..9e25283 100644 --- a/kernel/include/linux/hugetlb_inline.h +++ b/kernel/include/linux/hugetlb_inline.h @@ -8,7 +8,7 @@ static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) { - return !!(vma->vm_flags & VM_HUGETLB); + return !!(READ_ONCE(vma->vm_flags) & VM_HUGETLB); } #else -- Gitblit v1.6.2