Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c409 static atomic_t __nmi_ipi_lock = ATOMIC_INIT(0); variable
418 while (arch_atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) { in nmi_ipi_lock_start()
420 spin_until_cond(arch_atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock_start()
428 while (arch_atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) in nmi_ipi_lock()
429 spin_until_cond(arch_atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock()
435 WARN_ON(arch_atomic_read(&__nmi_ipi_lock) != 1); in nmi_ipi_unlock()
436 arch_atomic_set(&__nmi_ipi_lock, 0); in nmi_ipi_unlock()