powerpc: make memremap_compat_align 64s-only
authorNicholas Piggin <npiggin@gmail.com>
Wed, 1 Dec 2021 14:41:47 +0000 (00:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Dec 2021 11:57:24 +0000 (22:57 +1100)
commit20626177c9de726c48802c15e8635cc154645588
tree889d34d71118a4cb38083e5fa69d91dfcce4f888
parentffbe5d21d10f9c7890c07fca17db772f941385bf
powerpc: make memremap_compat_align 64s-only

memremap_compat_align is only relevant when ZONE_DEVICE is selected.
ZONE_DEVICE depends on ARCH_HAS_PTE_DEVMAP, which is only selected
by PPC_BOOK3S_64.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211201144153.2456614-13-npiggin@gmail.com
arch/powerpc/Kconfig
arch/powerpc/mm/book3s64/pgtable.c
arch/powerpc/mm/ioremap.c