x86/mpx: tweak header name
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 8 Feb 2019 06:02:53 +0000 (01:02 -0500)
committerArnd Bergmann <arnd@arndb.de>
Mon, 18 Feb 2019 16:49:30 +0000 (17:49 +0100)
Use linux/mman.h to make sure we get all mmap flags we need.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/x86/mm/mpx.c

index de1851d..c805db6 100644 (file)
@@ -9,12 +9,12 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/mm_types.h>
+#include <linux/mman.h>
 #include <linux/syscalls.h>
 #include <linux/sched/sysctl.h>
 
 #include <asm/insn.h>
 #include <asm/insn-eval.h>
-#include <asm/mman.h>
 #include <asm/mmu_context.h>
 #include <asm/mpx.h>
 #include <asm/processor.h>