diff --git a/Kernel/Arch/x86/common/CPU.cpp b/Kernel/Arch/x86/common/CPU.cpp index 936e36dd40..1acd2e7944 100644 --- a/Kernel/Arch/x86/common/CPU.cpp +++ b/Kernel/Arch/x86/common/CPU.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include void __assertion_failed(const char* msg, const char* file, unsigned line, const char* func) @@ -27,10 +28,7 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const if (process) MM.enter_process_paging_scope(*process); - Kernel::dump_backtrace(); - Processor::halt(); - - abort(); + PANIC("Aborted"); } [[noreturn]] void _abort()