aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/io_apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r--arch/x86_64/kernel/io_apic.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index a1412042b918..afac3dbb3729 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -48,7 +48,7 @@ int sis_apic_bug; /* not actually supported, dummy for compile */
48 48
49static int no_timer_check; 49static int no_timer_check;
50 50
51int disable_timer_pin_1 __initdata; 51static int disable_timer_pin_1 __initdata;
52 52
53int timer_over_8254 __initdata = 0; 53int timer_over_8254 __initdata = 0;
54 54
@@ -253,18 +253,17 @@ int ioapic_force;
253static int __init disable_ioapic_setup(char *str) 253static int __init disable_ioapic_setup(char *str)
254{ 254{
255 skip_ioapic_setup = 1; 255 skip_ioapic_setup = 1;
256 return 1; 256 return 0;
257} 257}
258early_param("noapic", disable_ioapic_setup);
258 259
259static int __init enable_ioapic_setup(char *str) 260/* Actually the next is obsolete, but keep it for paranoid reasons -AK */
261static int __init disable_timer_pin_setup(char *arg)
260{ 262{
261 ioapic_force = 1; 263 disable_timer_pin_1 = 1;
262 skip_ioapic_setup = 0;
263 return 1; 264 return 1;
264} 265}
265 266__setup("disable_timer_pin_1", disable_timer_pin_setup);
266__setup("noapic", disable_ioapic_setup);
267__setup("apic", enable_ioapic_setup);
268 267
269static int __init setup_disable_8254_timer(char *s) 268static int __init setup_disable_8254_timer(char *s)
270{ 269{