powerpc/64s: Always define arch unmapped area calls
authorNicholas Piggin <npiggin@gmail.com>
Wed, 1 Dec 2021 14:41:50 +0000 (00:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:40:24 +0000 (22:40 +1100)
commitdebeda017189e40bff23d1c3d2e4567ca8541aed
treef82896f7267656ea2448eb43fbca485a18d2901f
parentaf3a0ea41cbf38e967611e262126357d2fd23955
powerpc/64s: Always define arch unmapped area calls

To avoid any functional changes to radix paths when building with hash
MMU support disabled (and CONFIG_PPC_MM_SLICES=n), always define the
arch get_unmapped_area calls on 64s platforms.

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-16-npiggin@gmail.com
arch/powerpc/include/asm/book3s/64/hash.h
arch/powerpc/include/asm/book3s/64/mmu.h
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/mmap.c
arch/powerpc/mm/slice.c