[PATCH 09/17] s390/mm: Add _SEGMENT_ENTRY_TYPE
From: Heiko Carstens
Date: Thu Dec 03 2026 - 05:34:15 EST
Add missing _SEGMENT_ENTRY_TYPE to page table definitions.
Required by subsequent code changes, but completes the existing
definitions in any case.
Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/include/asm/pgtable.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h
index a4ad6eb361d3..a09055f3eb58 100644
--- a/arch/s390/include/asm/pgtable.h
+++ b/arch/s390/include/asm/pgtable.h
@@ -310,6 +310,7 @@ void setup_protection_map(void);
#define _SEGMENT_ENTRY_NOEXEC 0x100 /* segment no-execute bit */
#define _SEGMENT_ENTRY_INVALID 0x20 /* invalid segment table entry */
#define _SEGMENT_ENTRY_TYPE_MASK 0x0c /* segment table type mask */
+#define _SEGMENT_ENTRY_TYPE 0x00 /* segment table type */
#define _SEGMENT_ENTRY (_SEGMENT_ENTRY_PRESENT)
#define _SEGMENT_ENTRY_EMPTY (_SEGMENT_ENTRY_INVALID)
--
2.53.0