diff options
author | Ingo Molnar <mingo@kernel.org> | 2019-04-26 12:01:33 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-04-26 12:01:33 +0200 |
commit | da398dbd7d871bae332a800f7d194af18a2a9058 (patch) | |
tree | 2dbdc51bd9caa1539480b3d80d082adfdb8179c3 /arch/x86/mm/dump_pagetables.c | |
parent | 2792107dc3af29ecc1a9b3dc5bc873dac4b61cd6 (diff) | |
parent | 8113a85f872003a9f5c58f9f143054b0d8ec73a5 (diff) |
Merge branch 'linus' into x86/mm, to pick up dependent fix
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm/dump_pagetables.c')
-rw-r--r-- | arch/x86/mm/dump_pagetables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c index ee8f8ab46941..c0309ea9abee 100644 --- a/arch/x86/mm/dump_pagetables.c +++ b/arch/x86/mm/dump_pagetables.c @@ -259,7 +259,8 @@ static void note_wx(struct pg_state *st) #endif /* Account the WX pages */ st->wx_pages += npages; - WARN_ONCE(1, "x86/mm: Found insecure W+X mapping at address %pS\n", + WARN_ONCE(__supported_pte_mask & _PAGE_NX, + "x86/mm: Found insecure W+X mapping at address %pS\n", (void *)st->start_address); } |