Home
last modified time | relevance | path

Searched refs:__nmi_ipi_lock (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/arch/powerpc/kernel/
Dsmp.c372 static atomic_t __nmi_ipi_lock = ATOMIC_INIT(0); variable
381 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()