Skip to content

Commit 62b87e0

Browse files
hcahcaAlexander Gordeev
authored andcommitted
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 <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>
1 parent 4670f7b commit 62b87e0

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

arch/s390/include/asm/pgtable.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -461,13 +461,6 @@ static inline int is_module_addr(void *addr)
461461
#define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
462462
_PAGE_YOUNG | _PAGE_DIRTY)
463463

464-
/*
465-
* On s390 the page table entry has an invalid bit and a read-only bit.
466-
* Read permission implies execute permission and write permission
467-
* implies read permission.
468-
*/
469-
/*xwr*/
470-
471464
/*
472465
* Segment entry (large page) protection definitions.
473466
*/

0 commit comments

Comments
 (0)