We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347e9f5 commit 0877ad1Copy full SHA for 0877ad1
arch/x86/include/asm/pgtable_types.h
@@ -214,9 +214,6 @@ enum page_cache_mode {
214
#define PAGE_READONLY __pg(__PP| 0|_USR|___A|__NX| 0| 0| 0)
215
#define PAGE_READONLY_EXEC __pg(__PP| 0|_USR|___A| 0| 0| 0| 0)
216
217
-#define __PAGE_KERNEL (__PP|__RW| 0|___A|__NX|___D| 0|___G)
218
-#define __PAGE_KERNEL_EXEC (__PP|__RW| 0|___A| 0|___D| 0|___G)
219
-
220
/*
221
* Page tables needs to have Write=1 in order for any lower PTEs to be
222
* writable. This includes shadow stack memory (Write=0, Dirty=1)
0 commit comments