blob: 7ebf29c9118491193a0fa51bc33b78860b8c6e12 [file] [log] [blame]
Josh Poimboeuf6245ce42023-04-18 14:27:54 -07001/* 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 */
Kees Cook475ddf12023-04-07 12:27:13 -07009NORETURN(__fortify_panic)
Josh Poimboeufff9a6452023-06-02 10:54:53 -070010NORETURN(__kunit_abort)
Josh Poimboeuf6245ce42023-04-18 14:27:54 -070011NORETURN(__module_put_and_kthread_exit)
12NORETURN(__reiserfs_panic)
13NORETURN(__stack_chk_fail)
Kai Huang518755a2023-09-18 16:18:58 +120014NORETURN(__tdx_hypercall_failed)
Josh Poimboeuf6245ce42023-04-18 14:27:54 -070015NORETURN(__ubsan_handle_builtin_unreachable)
Josh Poimboeuf6245ce42023-04-18 14:27:54 -070016NORETURN(arch_cpu_idle_dead)
Kent Overstreetfaf1dce2023-09-09 20:56:00 -040017NORETURN(bch2_trans_in_restart_error)
18NORETURN(bch2_trans_restart_error)
Josh Poimboeuf6245ce42023-04-18 14:27:54 -070019NORETURN(cpu_bringup_and_idle)
20NORETURN(cpu_startup_entry)
21NORETURN(do_exit)
22NORETURN(do_group_exit)
23NORETURN(do_task_dead)
24NORETURN(ex_handler_msr_mce)
Josh Poimboeuf6245ce42023-04-18 14:27:54 -070025NORETURN(hlt_play_dead)
26NORETURN(hv_ghcb_terminate)
27NORETURN(kthread_complete_and_exit)
28NORETURN(kthread_exit)
29NORETURN(kunit_try_catch_throw)
30NORETURN(machine_real_restart)
31NORETURN(make_task_dead)
32NORETURN(mpt_halt_firmware)
33NORETURN(nmi_panic_self_stop)
34NORETURN(panic)
35NORETURN(panic_smp_self_stop)
36NORETURN(rest_init)
37NORETURN(rewind_stack_and_make_dead)
38NORETURN(sev_es_terminate)
39NORETURN(snp_abort)
40NORETURN(start_kernel)
41NORETURN(stop_this_cpu)
42NORETURN(usercopy_abort)
43NORETURN(x86_64_start_kernel)
44NORETURN(x86_64_start_reservations)
45NORETURN(xen_cpu_bringup_again)
46NORETURN(xen_start_kernel)