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(__invalid_creds) 10 NORETURN(__kunit_abort) 11 NORETURN(__module_put_and_kthread_exit) 12 NORETURN(__reiserfs_panic) 13 NORETURN(__stack_chk_fail) 14 NORETURN(__tdx_hypercall_failed) 15 NORETURN(__ubsan_handle_builtin_unreachable) 16 NORETURN(arch_call_rest_init) 17 NORETURN(arch_cpu_idle_dead) 18 NORETURN(bch2_trans_in_restart_error) 19 NORETURN(bch2_trans_restart_error) 20 NORETURN(cpu_bringup_and_idle) 21 NORETURN(cpu_startup_entry) 22 NORETURN(do_exit) 23 NORETURN(do_group_exit) 24 NORETURN(do_task_dead) 25 NORETURN(ex_handler_msr_mce) 26 NORETURN(fortify_panic) 27 NORETURN(hlt_play_dead) 28 NORETURN(hv_ghcb_terminate) 29 NORETURN(kthread_complete_and_exit) 30 NORETURN(kthread_exit) 31 NORETURN(kunit_try_catch_throw) 32 NORETURN(machine_real_restart) 33 NORETURN(make_task_dead) 34 NORETURN(mpt_halt_firmware) 35 NORETURN(nmi_panic_self_stop) 36 NORETURN(panic) 37 NORETURN(panic_smp_self_stop) 38 NORETURN(rest_init) 39 NORETURN(rewind_stack_and_make_dead) 40 NORETURN(sev_es_terminate) 41 NORETURN(snp_abort) 42 NORETURN(start_kernel) 43 NORETURN(stop_this_cpu) 44 NORETURN(usercopy_abort) 45 NORETURN(x86_64_start_kernel) 46 NORETURN(x86_64_start_reservations) 47 NORETURN(xen_cpu_bringup_again) 48 NORETURN(xen_start_kernel) 49