diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp index 98026be2dc..a83beac00a 100644 --- a/Kernel/Arch/i386/CPU.cpp +++ b/Kernel/Arch/i386/CPU.cpp @@ -2413,7 +2413,6 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const [[noreturn]] void abort() { -#ifdef DEBUG // Switch back to the current process's page tables if there are any. // Otherwise stack walking will be a disaster. auto process = Process::current(); @@ -2422,7 +2421,6 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const Kernel::dump_backtrace(); Processor::halt(); -#endif abort(); }