[PATCH 0/2] x86/mm: A _PAGE_NX fixlet and a kmap cleanup

Andy Lutomirski
2015-12-15T08:09:34Z

The fixlet might help with some WX warnings. The kmap cleanup is
just a cleanup.

This is very lightly tested.

Andy Lutomirski (2):
x86_32/mm: Set NX in __supported_pte_mask before enabling paging
x86/mm: Make kmap_prot into a #define

arch/x86/include/asm/fixmap.h | 2 +-
arch/x86/kernel/head_32.S | 6 ++++++
arch/x86/mm/init_32.c | 3 ---
arch/x86/mm/setup_nx.c | 5 ++---
4 files changed, 9 insertions(+), 7 deletions(-)

--
2.5.0