aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pkeys.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-04-12 23:54:00 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-09 11:51:00 +1000
commit555934a71bb479ce109722807b374f2d98aefe89 (patch)
treee0624d2e95c8814200fbfabbaecfc5181f65c5ea /include/linux/pkeys.h
parentmm/pkeys, powerpc, x86: Provide an empty vma_pkey() in linux/pkeys.h (diff)
downloadlinux-dev-555934a71bb479ce109722807b374f2d98aefe89.tar.xz
linux-dev-555934a71bb479ce109722807b374f2d98aefe89.zip
x86/pkeys: Move vma_pkey() into asm/pkeys.h
Move the last remaining pkey helper, vma_pkey() into asm/pkeys.h Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Dave Hansen <dave.hansen@intel.com>
Diffstat (limited to 'include/linux/pkeys.h')
-rw-r--r--include/linux/pkeys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pkeys.h b/include/linux/pkeys.h
index aad54663763b..946cb773b79f 100644
--- a/include/linux/pkeys.h
+++ b/include/linux/pkeys.h
@@ -2,7 +2,7 @@
#ifndef _LINUX_PKEYS_H
#define _LINUX_PKEYS_H
-#include <linux/mm_types.h>
+#include <linux/mm.h>
#ifdef CONFIG_ARCH_HAS_PKEYS
#include <asm/pkeys.h>