mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
x86/mm: Remove duplicated __PAGE_KERNEL(_EXEC) definitions
__PAGE_KERNEL(_EXEC) is defined twice, just remove the superfluous set. No functional changes. Signed-off-by: Nikolay Borisov <nik.borisov@suse.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/20250714170258.390175-1-nik.borisov@suse.com
This commit is contained in:
parent
347e9f5043
commit
0877ad1c4e
|
|
@ -214,9 +214,6 @@ enum page_cache_mode {
|
|||
#define PAGE_READONLY __pg(__PP| 0|_USR|___A|__NX| 0| 0| 0)
|
||||
#define PAGE_READONLY_EXEC __pg(__PP| 0|_USR|___A| 0| 0| 0| 0)
|
||||
|
||||
#define __PAGE_KERNEL (__PP|__RW| 0|___A|__NX|___D| 0|___G)
|
||||
#define __PAGE_KERNEL_EXEC (__PP|__RW| 0|___A| 0|___D| 0|___G)
|
||||
|
||||
/*
|
||||
* Page tables needs to have Write=1 in order for any lower PTEs to be
|
||||
* writable. This includes shadow stack memory (Write=0, Dirty=1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user