diff options
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 15 |
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 | ||
49 | static int no_timer_check; | 49 | static int no_timer_check; |
50 | 50 | ||
51 | int disable_timer_pin_1 __initdata; | 51 | static int disable_timer_pin_1 __initdata; |
52 | 52 | ||
53 | int timer_over_8254 __initdata = 0; | 53 | int timer_over_8254 __initdata = 0; |
54 | 54 | ||
@@ -253,18 +253,17 @@ int ioapic_force; | |||
253 | static int __init disable_ioapic_setup(char *str) | 253 | static 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 | } |
258 | early_param("noapic", disable_ioapic_setup); | ||
258 | 259 | ||
259 | static int __init enable_ioapic_setup(char *str) | 260 | /* Actually the next is obsolete, but keep it for paranoid reasons -AK */ |
261 | static 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 | ||
269 | static int __init setup_disable_8254_timer(char *s) | 268 | static int __init setup_disable_8254_timer(char *s) |
270 | { | 269 | { |