Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
A Dsmp.c410 static atomic_t __nmi_ipi_lock = ATOMIC_INIT(0); variable
419 while (atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) { in nmi_ipi_lock_start()
421 spin_until_cond(atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock_start()
429 while (atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) in nmi_ipi_lock()
430 spin_until_cond(atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock()
436 WARN_ON(atomic_read(&__nmi_ipi_lock) != 1); in nmi_ipi_unlock()
437 atomic_set(&__nmi_ipi_lock, 0); in nmi_ipi_unlock()

Completed in 6 milliseconds