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

From: Andy Lutomirski
Date: Tue Jan 19 2016 - 16:39:20 EST


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

This is very lightly tested.

Changes from v1:
- Rebased on top of the cpu_has_xyz cleanups.

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