From: Peter Xu Date: Thu, 14 Apr 2022 19:16:48 +0000 (-0700) Subject: fixup! mm: Introduce PTE_MARKER swap entry X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ec27b52f64b1d4242b945c720241d3a01b183304;p=users%2Fjedix%2Flinux-maple.git fixup! mm: Introduce PTE_MARKER swap entry Link: https://lkml.kernel.org/r/Yk2rdB7SXZf+2BDF@xz-m1.local Signed-off-by: Peter Xu Reported-by: kernel test robot Signed-off-by: Andrew Morton --- diff --git a/arch/s390/include/asm/hugetlb.h b/arch/s390/include/asm/hugetlb.h index bea47e7cc6a0..f0bc4d31e852 100644 --- a/arch/s390/include/asm/hugetlb.h +++ b/arch/s390/include/asm/hugetlb.h @@ -85,6 +85,11 @@ static inline int huge_pte_none(pte_t pte) return pte_none(pte); } +static inline int huge_pte_none_mostly(pte_t pte) +{ + return huge_pte_none(pte); +} + static inline int huge_pte_write(pte_t pte) { return pte_write(pte);