Searched refs:__nmi_ipi_lock (Results 1 – 1 of 1) sorted by relevance
372 static atomic_t __nmi_ipi_lock = ATOMIC_INIT(0); variable381 while (atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) { in nmi_ipi_lock_start()383 spin_until_cond(atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock_start()391 while (atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) in nmi_ipi_lock()392 spin_until_cond(atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock()398 WARN_ON(atomic_read(&__nmi_ipi_lock) != 1); in nmi_ipi_unlock()399 atomic_set(&__nmi_ipi_lock, 0); in nmi_ipi_unlock()