diff options
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 1e35dd06b090..52f352b063fd 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -2117,6 +2117,7 @@ static inline void __init check_timer(void) | |||
2117 | if (idx != -1 && irq_trigger(idx)) | 2117 | if (idx != -1 && irq_trigger(idx)) |
2118 | unmask_ioapic_irq(irq_get_chip_data(0)); | 2118 | unmask_ioapic_irq(irq_get_chip_data(0)); |
2119 | } | 2119 | } |
2120 | irq_domain_deactivate_irq(irq_data); | ||
2120 | irq_domain_activate_irq(irq_data); | 2121 | irq_domain_activate_irq(irq_data); |
2121 | if (timer_irq_works()) { | 2122 | if (timer_irq_works()) { |
2122 | if (disable_timer_pin_1 > 0) | 2123 | if (disable_timer_pin_1 > 0) |
@@ -2138,6 +2139,7 @@ static inline void __init check_timer(void) | |||
2138 | * legacy devices should be connected to IO APIC #0 | 2139 | * legacy devices should be connected to IO APIC #0 |
2139 | */ | 2140 | */ |
2140 | replace_pin_at_irq_node(data, node, apic1, pin1, apic2, pin2); | 2141 | replace_pin_at_irq_node(data, node, apic1, pin1, apic2, pin2); |
2142 | irq_domain_deactivate_irq(irq_data); | ||
2141 | irq_domain_activate_irq(irq_data); | 2143 | irq_domain_activate_irq(irq_data); |
2142 | legacy_pic->unmask(0); | 2144 | legacy_pic->unmask(0); |
2143 | if (timer_irq_works()) { | 2145 | if (timer_irq_works()) { |