init: remove obsolete arch_call_rest_init() wrapper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 24 Jan 2024 14:27:35 +0000 (15:27 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 22 Feb 2024 23:38:55 +0000 (15:38 -0800)
commitac4db926e17a669c788efc89b81a4a0f40648445
tree6f65f58919854851c0aaf4ac4975d11e23ca5b85
parentf16ff3b692ad4f72cd45605eb4a0c5ab36861c8b
init: remove obsolete arch_call_rest_init() wrapper

Since commit 3570ee046c46b5dc ("s390/smp: keep the original lowcore for
CPU 0"), there is no longer any architecture that needs to override
arch_call_rest_init().

Remove the weak wrapper around rest_init(), call rest_init() directly, and
make rest_init() static.

Link: https://lkml.kernel.org/r/aa10868bfb176eef4abb8bb4a710b85330792694.1706106183.git.geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/start_kernel.h
init/main.c
tools/objtool/noreturns.h