]> Git Repo - linux.git/commitdiff
x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
authorBorislav Petkov <[email protected]>
Fri, 3 Nov 2017 10:20:28 +0000 (11:20 +0100)
committerIngo Molnar <[email protected]>
Mon, 6 Nov 2017 08:50:14 +0000 (09:50 +0100)
... so that the difference is obvious.

No functionality change.

Signed-off-by: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/pgtable_types.h

index f1492473f10e050d5e877c02bf4e9c06b71f2fd9..c33f80da8a79d54f953dbce5e55f81b98c70ea23 100644 (file)
@@ -199,10 +199,9 @@ enum page_cache_mode {
 
 #define _PAGE_ENC      (_AT(pteval_t, sme_me_mask))
 
-#define _PAGE_TABLE    (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER |        \
-                        _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_ENC)
 #define _KERNPG_TABLE  (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED |    \
                         _PAGE_DIRTY | _PAGE_ENC)
+#define _PAGE_TABLE    (_KERNPG_TABLE | _PAGE_USER)
 
 #define __PAGE_KERNEL_ENC      (__PAGE_KERNEL | _PAGE_ENC)
 #define __PAGE_KERNEL_ENC_WP   (__PAGE_KERNEL_WP | _PAGE_ENC)
This page took 0.088458 seconds and 4 git commands to generate.