s390/mm: Remove incorrect comment
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Dec 2024 09:45:16 +0000 (10:45 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 17 Dec 2024 11:46:13 +0000 (12:46 +0100)
Remove an outdated comment that is also located at a random place. The
generic statement that read permissions imply execute permissions is
wrong since the instruction execution-protection facility is available.

Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/pgtable.h

index 3b21aecf69acd3c6d1a60d74af9582add447b822..235360314f6732f5fc4db75331795fa1dbfc7518 100644 (file)
@@ -461,13 +461,6 @@ static inline int is_module_addr(void *addr)
 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
                                  _PAGE_YOUNG | _PAGE_DIRTY)
 
-/*
- * On s390 the page table entry has an invalid bit and a read-only bit.
- * Read permission implies execute permission and write permission
- * implies read permission.
- */
-         /*xwr*/
-
 /*
  * Segment entry (large page) protection definitions.
  */