summaryrefslogtreecommitdiff
path: root/Kernel/Lock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Lock.cpp')
-rw-r--r--Kernel/Lock.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Lock.cpp b/Kernel/Lock.cpp
index 1aaad518cb..720f6ae8b1 100644
--- a/Kernel/Lock.cpp
+++ b/Kernel/Lock.cpp
@@ -80,6 +80,9 @@ void Lock::lock(Mode mode)
// Note, we may now be on a different CPU!
Processor::current().restore_critical(prev_crit, prev_flags);
+ } else {
+ // We need to process e.g. smp messages
+ Processor::wait_check();
}
}
}