diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp index 62652008a5..54c31b608d 100644 --- a/Kernel/Syscall.cpp +++ b/Kernel/Syscall.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -165,9 +166,7 @@ void syscall_handler(TrapFrame* trap) static constexpr u32 iopl_mask = 3u << 12; if ((regs.eflags & (iopl_mask)) != 0) { - dbgln("Syscall from process with IOPL != 0"); - handle_crash(regs, "Non-zero IOPL on syscall entry", SIGSEGV); - ASSERT_NOT_REACHED(); + PANIC("Syscall from process with IOPL != 0"); } if (!MM.validate_user_stack(process, VirtualAddress(regs.userspace_esp))) {