浏览代码

[PATCH] x86_64: Always use IO-APIC routing for timer.

I tested it on a couple of chipsets and it worked everywhere so it
should be ok as default for now.

So far I haven't done the great purge of the useless old check_timer
code yet though.

Can be overwritten with enable_8254_timer in the worst case

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andi Kleen 19 年之前
父节点
当前提交
9b2a13b963
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86_64/kernel/io_apic.c

+ 1 - 1
arch/x86_64/kernel/io_apic.c

@@ -50,7 +50,7 @@ static int no_timer_check;
 
 
 int disable_timer_pin_1 __initdata;
 int disable_timer_pin_1 __initdata;
 
 
-int timer_over_8254 __initdata = 1;
+int timer_over_8254 __initdata = 0;
 
 
 /* Where if anywhere is the i8259 connect in external int mode */
 /* Where if anywhere is the i8259 connect in external int mode */
 static struct { int pin, apic; } ioapic_i8259 = { -1, -1 };
 static struct { int pin, apic; } ioapic_i8259 = { -1, -1 };