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>
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user