summaryrefslogtreecommitdiff
path: root/tools/objtool/noreturns.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-01-24 15:27:35 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-02-22 15:38:55 -0800
commitac4db926e17a669c788efc89b81a4a0f40648445 (patch)
tree6f65f58919854851c0aaf4ac4975d11e23ca5b85 /tools/objtool/noreturns.h
parentf16ff3b692ad4f72cd45605eb4a0c5ab36861c8b (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 <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 'tools/objtool/noreturns.h')
-rw-r--r--tools/objtool/noreturns.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/objtool/noreturns.h b/tools/objtool/noreturns.h
index 1685d7ea6a9f..7cda577da897 100644
--- a/tools/objtool/noreturns.h
+++ b/tools/objtool/noreturns.h
@@ -12,7 +12,6 @@ NORETURN(__reiserfs_panic)
NORETURN(__stack_chk_fail)
NORETURN(__tdx_hypercall_failed)
NORETURN(__ubsan_handle_builtin_unreachable)
-NORETURN(arch_call_rest_init)
NORETURN(arch_cpu_idle_dead)
NORETURN(bch2_trans_in_restart_error)
NORETURN(bch2_trans_restart_error)