diff options
| author | Geert Uytterhoeven <[email protected]> | 2024-01-24 15:27:35 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 15:38:55 -0800 |
| commit | ac4db926e17a669c788efc89b81a4a0f40648445 (patch) | |
| tree | 6f65f58919854851c0aaf4ac4975d11e23ca5b85 /include/linux | |
| parent | f16ff3b692ad4f72cd45605eb4a0c5ab36861c8b (diff) | |
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 <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Ilya Leoshkevich <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
| -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 */ |