[PATCH] fixup! mm: Introduce PTE_MARKER swap entry

From: Peter Xu
Date: Wed Apr 06 2022 - 10:55:55 EST


Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
---
arch/s390/include/asm/hugetlb.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/s390/include/asm/hugetlb.h b/arch/s390/include/asm/hugetlb.h
index be99eda87f4d..32c3fd6e878e 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);
--
2.32.0


--gQDMqriStFwDEZjG--