mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
Kernel/SMP: Don't process SMP messages in exit_trap() in non-SMP mode
This commit is contained in:
parent
f27e7bbbf4
commit
57a7dfbd28
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue