Re: [PATCH 1/2] powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY
From: Michael Ellerman
Date: Wed Sep 25 2019 - 07:05:21 EST
On Wed, 2019-08-21 at 10:20:00 UTC, Christophe Leroy wrote:
> In a couple of places there is a need to select whether read-only
> protection of shadow pages is performed with PAGE_KERNEL_RO or with
> PAGE_READONLY.
>
> Add a helper to avoid duplicating the choice.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
Series applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/4c0f5d1eb4072871c34530358df45f05ab80edd6
cheers