mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
ac4db926e1
Since commit 3570ee046c
("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>
14 lines
345 B
C
14 lines
345 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_START_KERNEL_H
|
|
#define _LINUX_START_KERNEL_H
|
|
|
|
#include <linux/linkage.h>
|
|
#include <linux/init.h>
|
|
|
|
/* Define the prototype for start_kernel here, rather than cluttering
|
|
up something else. */
|
|
|
|
extern asmlinkage void __init __noreturn start_kernel(void);
|
|
|
|
#endif /* _LINUX_START_KERNEL_H */
|