From 62b87e0c9a2cb35a74b47766743135e175f488b4 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Mon, 9 Dec 2024 10:45:16 +0100 Subject: [PATCH] s390/mm: Remove incorrect comment 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 Acked-by: Alexander Gordeev Signed-off-by: Heiko Carstens Signed-off-by: Alexander Gordeev --- arch/s390/include/asm/pgtable.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h index 3b21aecf69acd..235360314f673 100644 --- a/arch/s390/include/asm/pgtable.h +++ b/arch/s390/include/asm/pgtable.h @@ -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. */ -- 2.50.1