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

/linux-4.4.14/arch/sparc/kernel/
H A Dnmi.c137 static void report_broken_nmi(int cpu, int *prev_nmi_count) report_broken_nmi() argument
143 cpu, prev_nmi_count[cpu], get_nmi_count(cpu)); report_broken_nmi()
163 unsigned int *prev_nmi_count; check_nmi_watchdog() local
169 prev_nmi_count = kmalloc(nr_cpu_ids * sizeof(unsigned int), GFP_KERNEL); check_nmi_watchdog()
170 if (!prev_nmi_count) { check_nmi_watchdog()
180 prev_nmi_count[cpu] = get_nmi_count(cpu); check_nmi_watchdog()
187 if (get_nmi_count(cpu) - prev_nmi_count[cpu] <= 5) for_each_online_cpu()
188 report_broken_nmi(cpu, prev_nmi_count); for_each_online_cpu()
192 kfree(prev_nmi_count);
201 kfree(prev_nmi_count);

Completed in 209 milliseconds