summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-02-08 01:02:53 -0500
committerArnd Bergmann <arnd@arndb.de>2019-02-18 17:49:30 +0100
commite844f2c11080ab5f3e3fa77ca09a7719d256a98a (patch)
treed4e3280e160ab26db48d8e1ca9a1aebcd0d39c01 /arch/x86
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-e844f2c11080ab5f3e3fa77ca09a7719d256a98a.tar.bz2
x86/mpx: tweak header name
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/mpx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c
index de1851d15699..c805db6236b4 100644
--- a/arch/x86/mm/mpx.c
+++ b/arch/x86/mm/mpx.c
@@ -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>