summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/APIC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Interrupts/APIC.cpp')
-rw-r--r--Kernel/Interrupts/APIC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Interrupts/APIC.cpp b/Kernel/Interrupts/APIC.cpp
index f941028ec8..88bd33b423 100644
--- a/Kernel/Interrupts/APIC.cpp
+++ b/Kernel/Interrupts/APIC.cpp
@@ -459,7 +459,7 @@ UNMAP_AFTER_INIT void APIC::init_finished(u32 cpu)
VERIFY(cpu < m_processor_enabled_cnt);
// Since we're waiting on other APs here, we shouldn't have the
// scheduler lock
- VERIFY(!g_scheduler_lock.own_lock());
+ VERIFY(!g_scheduler_lock.is_locked_by_current_thread());
// Notify the BSP that we are done initializing. It will unmap the startup data at P8000
m_apic_ap_count.fetch_add(1, AK::MemoryOrder::memory_order_acq_rel);