linux/arch
Christophe Leroy 4c0f5d1eb4 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
2019-09-21 08:36:53 +10:00
..
alpha Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
arc Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
arm Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
arm64 arm64 fixes for -rc1 2019-09-20 11:42:07 -07:00
c6x dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP 2019-09-04 11:13:18 +02:00
csky dma-mapping: make dma_atomic_pool_init self-contained 2019-08-29 16:43:33 +02:00
h8300 h8300 update for 5.3 2019-07-17 09:36:38 -07:00
hexagon hexagon: switch to generic version of pte allocation 2019-07-21 09:53:00 -07:00
ia64 Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
m68k Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
microblaze dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP 2019-09-04 11:13:18 +02:00
mips Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
nds32 dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
nios2
openrisc openrisc: map as uncached in ioremap 2019-08-31 11:57:53 +09:00
parisc Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
powerpc powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY 2019-09-21 08:36:53 +10:00
riscv Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
s390 powerpc updates for 5.4 2019-09-20 11:48:06 -07:00
sh dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
sparc Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
um Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
unicore32 dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
x86 powerpc updates for 5.4 2019-09-20 11:48:06 -07:00
xtensa dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
.gitignore
Kconfig powerpc updates for 5.4 2019-09-20 11:48:06 -07:00