diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-01-24 17:27:35 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-23 02:38:55 +0300 |
commit | ac4db926e17a669c788efc89b81a4a0f40648445 (patch) | |
tree | 6f65f58919854851c0aaf4ac4975d11e23ca5b85 /include/linux/start_kernel.h | |
parent | f16ff3b692ad4f72cd45605eb4a0c5ab36861c8b (diff) | |
download | linux-ac4db926e17a669c788efc89b81a4a0f40648445.tar.xz |
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>
Diffstat (limited to 'include/linux/start_kernel.h')
-rw-r--r-- | include/linux/start_kernel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/start_kernel.h b/include/linux/start_kernel.h index a9806a44a605..09f994ac87df 100644 --- a/include/linux/start_kernel.h +++ b/include/linux/start_kernel.h @@ -9,7 +9,5 @@ up something else. */ extern asmlinkage void __init __noreturn start_kernel(void); -extern void __init __noreturn arch_call_rest_init(void); -extern void __ref __noreturn rest_init(void); #endif /* _LINUX_START_KERNEL_H */ |