]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/vdso32: Add crtsavres
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 2 Sep 2024 19:17:19 +0000 (21:17 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 Sep 2024 15:28:36 +0000 (17:28 +0200)
commitb163596a5b6f27aa6a9eac4198a6c6ec0ce3d5f2
treec262c7abe84ca207a99ddd8ab4c8687b973c94cd
parentd175ee98fe545d2c56df22751314584cce228307
powerpc/vdso32: Add crtsavres

Commit 08c18b63d965 ("powerpc/vdso32: Add missing _restgpr_31_x to fix
build failure") added _restgpr_31_x to the vdso for gettimeofday, but
the work on getrandom shows that we will need more of those functions.

Remove _restgpr_31_x and link in crtsavres.o so that we get all
save/restore functions when optimising the kernel for size.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
arch/powerpc/kernel/vdso/Makefile
arch/powerpc/kernel/vdso/gettimeofday.S