powerpc/vdso: Provide vdso_remap()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 27 Sep 2020 09:16:28 +0000 (09:16 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:16 +0000 (01:01 +1100)
commit526a9c4a7234cccf6d900c6e82d79356f974cbfd
treed02cd9ecb6785a4d5f41cf9e70430ca2c152a209
parentc1bab64360e6850ca54305d2f1902dac829c9752
powerpc/vdso: Provide vdso_remap()

Provide vdso_remap() through _install_special_mapping() and
drop arch_remap().

This adds a test of the size and returns -EINVAL if the size
is not correct.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/373c66f768fa9cc8890f3b55462209a98c522326.1601197618.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/mm-arch-hooks.h [deleted file]
arch/powerpc/kernel/vdso.c