summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Arch/x86/common/Processor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Arch/x86/common/Processor.cpp b/Kernel/Arch/x86/common/Processor.cpp
index b437e891cb..e4c94735de 100644
--- a/Kernel/Arch/x86/common/Processor.cpp
+++ b/Kernel/Arch/x86/common/Processor.cpp
@@ -613,7 +613,8 @@ void Processor::exit_trap(TrapFrame& trap)
VERIFY(m_in_irq >= trap.prev_irq_level);
m_in_irq = trap.prev_irq_level;
- smp_process_pending_messages();
+ if (s_smp_enabled)
+ smp_process_pending_messages();
auto* current_thread = Processor::current_thread();
if (current_thread) {