Searched refs:nmi_active (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/sparc/include/asm/
H A Dnmi.h8 extern atomic_t nmi_active;
/linux-4.4.14/arch/sparc/kernel/
H A Dnmi.c38 /* nmi_active:
43 atomic_t nmi_active = ATOMIC_INIT(0); /* oprofile uses this */ variable
44 EXPORT_SYMBOL(nmi_active); variable
56 if (atomic_read(&nmi_active)) { touch_nmi_watchdog()
151 atomic_dec(&nmi_active); report_broken_nmi()
158 atomic_dec(&nmi_active); stop_nmi_watchdog()
166 if (!atomic_read(&nmi_active)) check_nmi_watchdog()
191 if (!atomic_read(&nmi_active)) {
193 atomic_set(&nmi_active, -1);
211 atomic_inc(&nmi_active); start_nmi_watchdog()
258 atomic_set(&nmi_active, -1); nmi_init()
H A Dperf_event.c1163 if (atomic_read(&nmi_active) > 0) { perf_event_grab_pmc()
1165 BUG_ON(atomic_read(&nmi_active) != 0); perf_event_grab_pmc()
1175 if (atomic_read(&nmi_active) == 0) perf_event_release_pmc()
1410 if (atomic_read(&nmi_active) < 0) sparc_pmu_event_init()
/linux-4.4.14/arch/blackfin/kernel/
H A Dnmi.c32 static int nmi_active; variable
180 nmi_active = true; init_nmi_wdt()
207 if (nmi_active) nmi_wdt_resume()
218 if (nmi_active) init_nmi_wdt_syscore()
/linux-4.4.14/arch/sparc/oprofile/
H A Dinit.c61 if (atomic_read(&nmi_active) <= 0) op_nmi_timer_init()

Completed in 325 milliseconds