浏览代码

[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>
Andi Kleen 18 年之前
父节点
当前提交
6c96a29f20
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      arch/x86_64/kernel/irq.c

+ 0 - 6
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;
 }