Re: [PATCH 4/8] mm/pkeys, powerpc, x86: Provide an empty vma_pkey() in linux/pkeys.h

From: Dave Hansen
Date: Tue May 08 2018 - 12:45:10 EST


On 05/08/2018 07:59 AM, Michael Ellerman wrote:
> 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.

Looks fine to me. Thanks for consolidating these.

Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxx>