Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dnmi.c136 static void report_broken_nmi(int cpu, int *prev_nmi_count) in report_broken_nmi() argument
142 cpu, prev_nmi_count[cpu], get_nmi_count(cpu)); in report_broken_nmi()
164 unsigned int *prev_nmi_count; in check_nmi_watchdog() local
170 prev_nmi_count = kmalloc_array(nr_cpu_ids, sizeof(unsigned int), in check_nmi_watchdog()
172 if (!prev_nmi_count) { in check_nmi_watchdog()
182 prev_nmi_count[cpu] = get_nmi_count(cpu); in check_nmi_watchdog()
189 if (get_nmi_count(cpu) - prev_nmi_count[cpu] <= 5) in check_nmi_watchdog()
190 report_broken_nmi(cpu, prev_nmi_count); in check_nmi_watchdog()
194 kfree(prev_nmi_count); in check_nmi_watchdog()
203 kfree(prev_nmi_count); in check_nmi_watchdog()