mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Kernel: Rename Spinlock::is_owned_by_current_thread()
...to is_owned_by_current_processor(). As Tom pointed out, this is much more accurate. :^)
This commit is contained in:
parent
ed0e64943f
commit
68bf6db673
11 changed files with 46 additions and 46 deletions
|
@ -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.is_locked_by_current_thread());
|
||||
VERIFY(!g_scheduler_lock.is_locked_by_current_processor());
|
||||
|
||||
// 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue