Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A Dpanic.c185 atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID); variable
198 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu); in nmi_panic()
320 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic()
H A Dkexec_core.c1084 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec()
1093 atomic_set(&panic_cpu, PANIC_CPU_INVALID); in crash_kexec()
/openbmc/linux/include/linux/
H A Dpanic.h43 extern atomic_t panic_cpu;
/openbmc/linux/kernel/printk/
H A Dprintk.c353 return unlikely(atomic_read(&panic_cpu) != PANIC_CPU_INVALID); in panic_in_progress()
2663 * the task to be migrated to the panic_cpu, or away from it. If in other_cpu_in_panic()
2664 * panic_cpu has already been set, and we're not currently executing on in other_cpu_in_panic()
2667 return atomic_read(&panic_cpu) != raw_smp_processor_id(); in other_cpu_in_panic()
3017 /* Allow panic_cpu to take over the consoles safely. */ in console_flush_all()