Skip to content
Commit dbec10e5 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

mm/pkeys, powerpc, x86: Provide an empty vma_pkey() in linux/pkeys.h



Consolidate the pkey handling by providing a common empty definition
of vma_pkey() in pkeys.h when CONFIG_ARCH_HAS_PKEYS=n.

This also removes another entanglement of pkeys.h and
asm/mmu_context.h.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Reviewed-by: default avatarRam Pai <linuxram@us.ibm.com>
Reviewed-by: default avatarDave Hansen <dave.hansen@intel.com>
parent cd419a51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment