| 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(__fortify_panic) |
| 10 | NORETURN(__ia32_sys_exit) |
| 11 | NORETURN(__ia32_sys_exit_group) |
| 12 | NORETURN(__kunit_abort) |
| 13 | NORETURN(__module_put_and_kthread_exit) |
| 14 | NORETURN(__stack_chk_fail) |
| 15 | NORETURN(__tdx_hypercall_failed) |
| 16 | NORETURN(__ubsan_handle_builtin_unreachable) |
| 17 | NORETURN(__x64_sys_exit) |
| 18 | NORETURN(__x64_sys_exit_group) |
| 19 | NORETURN(acpi_processor_ffh_play_dead) |
| 20 | NORETURN(arch_cpu_idle_dead) |
| 21 | NORETURN(bch2_trans_in_restart_error) |
| 22 | NORETURN(bch2_trans_restart_error) |
| 23 | NORETURN(bch2_trans_unlocked_or_in_restart_error) |
| 24 | NORETURN(cpu_bringup_and_idle) |
| 25 | NORETURN(cpu_startup_entry) |
| 26 | NORETURN(do_exit) |
| 27 | NORETURN(do_group_exit) |
| 28 | NORETURN(do_task_dead) |
| 29 | NORETURN(ex_handler_msr_mce) |
| 30 | NORETURN(hlt_play_dead) |
| 31 | NORETURN(hv_ghcb_terminate) |
| 32 | NORETURN(kthread_complete_and_exit) |
| 33 | NORETURN(kthread_exit) |
| 34 | NORETURN(kunit_try_catch_throw) |
| 35 | NORETURN(machine_real_restart) |
| 36 | NORETURN(make_task_dead) |
| 37 | NORETURN(mpt_halt_firmware) |
| 38 | NORETURN(mwait_play_dead) |
| 39 | NORETURN(native_play_dead) |
| 40 | NORETURN(nmi_panic_self_stop) |
| 41 | NORETURN(panic) |
| 42 | NORETURN(vpanic) |
| 43 | NORETURN(panic_smp_self_stop) |
| 44 | NORETURN(rest_init) |
| 45 | NORETURN(rewind_stack_and_make_dead) |
| 46 | NORETURN(rust_begin_unwind) |
| 47 | NORETURN(rust_helper_BUG) |
| 48 | NORETURN(sev_es_terminate) |
| 49 | NORETURN(start_kernel) |
| 50 | NORETURN(stop_this_cpu) |
| 51 | NORETURN(usercopy_abort) |
| 52 | NORETURN(x86_64_start_kernel) |
| 53 | NORETURN(x86_64_start_reservations) |
| 54 | NORETURN(xen_cpu_bringup_again) |
| 55 | NORETURN(xen_start_kernel) |
| 56 |
