1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 /*
4  * This is a (sorted!) list of all known __noreturn functions in the kernel.
5  * It's needed for objtool to properly reverse-engineer the control flow graph.
6  *
7  * Yes, this is unfortunate.  A better solution is in the works.
8  */
9 NORETURN(__kunit_abort)
10 NORETURN(__module_put_and_kthread_exit)
11 NORETURN(__reiserfs_panic)
12 NORETURN(__stack_chk_fail)
13 NORETURN(__ubsan_handle_builtin_unreachable)
14 NORETURN(arch_call_rest_init)
15 NORETURN(arch_cpu_idle_dead)
16 NORETURN(cpu_bringup_and_idle)
17 NORETURN(cpu_startup_entry)
18 NORETURN(do_exit)
19 NORETURN(do_group_exit)
20 NORETURN(do_task_dead)
21 NORETURN(ex_handler_msr_mce)
22 NORETURN(fortify_panic)
23 NORETURN(hlt_play_dead)
24 NORETURN(hv_ghcb_terminate)
25 NORETURN(kthread_complete_and_exit)
26 NORETURN(kthread_exit)
27 NORETURN(kunit_try_catch_throw)
28 NORETURN(machine_real_restart)
29 NORETURN(make_task_dead)
30 NORETURN(mpt_halt_firmware)
31 NORETURN(nmi_panic_self_stop)
32 NORETURN(panic)
33 NORETURN(panic_smp_self_stop)
34 NORETURN(rest_init)
35 NORETURN(rewind_stack_and_make_dead)
36 NORETURN(sev_es_terminate)
37 NORETURN(snp_abort)
38 NORETURN(start_kernel)
39 NORETURN(stop_this_cpu)
40 NORETURN(usercopy_abort)
41 NORETURN(x86_64_start_kernel)
42 NORETURN(x86_64_start_reservations)
43 NORETURN(xen_cpu_bringup_again)
44 NORETURN(xen_start_kernel)
45