Searched refs:PANIC_CPU_INVALID (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dpanic.h37 * PANIC_CPU_INVALID means no CPU has entered panic() or crash_kexec().
40 #define PANIC_CPU_INVALID -1 macro
/linux-master/kernel/
H A Dpanic.c153 atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID);
166 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, cpu);
168 if (old_cpu == PANIC_CPU_INVALID)
248 * `old_cpu == PANIC_CPU_INVALID' means this is the 1st CPU which
254 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu);
256 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu)
H A Dkexec_core.c994 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu);
995 if (old_cpu == PANIC_CPU_INVALID) {
1003 atomic_set(&panic_cpu, PANIC_CPU_INVALID);
/linux-master/kernel/printk/
H A Dprintk.c270 return unlikely(atomic_read(&panic_cpu) != PANIC_CPU_INVALID);

Completed in 83 milliseconds