[PATCH for review] [47/145] x86_64: Remove apic mismatch counter

Andi Kleen
2006-08-10T20:24:23Z

r

Nobody has been setting the mismatch counter and the ifdef was never
set so remove it.
Signed-off-by: Andi Kleen <ak@suse.de>

---
arch/x86_64/kernel/irq.c | 6 ------
1 files changed, 6 deletions(-)

Index: linux/arch/x86_64/kernel/irq.c
===================================================================
--- linux.orig/arch/x86_64/kernel/irq.c
+++ linux/arch/x86_64/kernel/irq.c
@@ -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 @@ skip:
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;
}