mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
cpu: Mark panic_smp_self_stop() __noreturn
In preparation for improving objtool's handling of weak noreturn functions, mark panic_smp_self_stop() __noreturn. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/92d76ab5c8bf660f04fdcd3da1084519212de248.1681342859.git.jpoimboe@kernel.org
This commit is contained in:
committed by
Peter Zijlstra
parent
5ab6876c78
commit
7412a60dec
@@ -59,7 +59,7 @@ int smp_call_function_single_async(int cpu, struct __call_single_data *csd);
|
||||
* Cpus stopping functions in panic. All have default weak definitions.
|
||||
* Architecture-dependent code may override them.
|
||||
*/
|
||||
void panic_smp_self_stop(void);
|
||||
void __noreturn panic_smp_self_stop(void);
|
||||
void nmi_panic_self_stop(struct pt_regs *regs);
|
||||
void crash_smp_send_stop(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user