[kernel] Make panic noreturn

This keeps clang from complaining about other noreturn functions calling
panic::panic().
This commit is contained in:
Justin C. Miller
2022-02-03 19:51:19 -08:00
parent 5146429d19
commit db23e4966e

View File

@@ -13,6 +13,7 @@ constexpr uint32_t send_nmi_command =
extern uint32_t *apic_icr;
extern void const *symbol_table;
[[ noreturn ]]
__attribute__ ((always_inline))
inline void panic(
const char *message = nullptr,