mirror of https://gitee.com/openkylin/linux.git
[PATCH] Remove apic mismatch counter
Nobody has been setting the mismatch counter and the ifdef was never set so remove it. Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
7f11d8a5ef
commit
6c96a29f20
|
@ -20,9 +20,6 @@
|
|||
#include <asm/idle.h>
|
||||
|
||||
atomic_t irq_err_count;
|
||||
#ifdef APIC_MISMATCH_DEBUG
|
||||
atomic_t irq_mis_count;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_STACKOVERFLOW
|
||||
/*
|
||||
|
@ -95,9 +92,6 @@ int show_interrupts(struct seq_file *p, void *v)
|
|||
seq_printf(p, "%10u ", cpu_pda(j)->apic_timer_irqs);
|
||||
seq_putc(p, '\n');
|
||||
seq_printf(p, "ERR: %10u\n", atomic_read(&irq_err_count));
|
||||
#ifdef APIC_MISMATCH_DEBUG
|
||||
seq_printf(p, "MIS: %10u\n", atomic_read(&irq_mis_count));
|
||||
#endif
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue