diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-08-21 10:20:00 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-09-21 08:36:53 +1000 |
commit | 4c0f5d1eb4072871c34530358df45f05ab80edd6 (patch) | |
tree | db91d2da1a31b18e6da69dd089aa660c2686c7ef /scripts/asn1_compiler.c | |
parent | 13c7bb3c57dcfe779ea5b4b083f6c47753cc5327 (diff) |
powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY
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@c-s.fr>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9f33f44b9cd741c4a02b3dce7b8ef9438fe2cd2a.1566382750.git.christophe.leroy@c-s.fr
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions