diff options
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 1e35dd06b090..bd6b8c270c24 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -1875,7 +1875,6 @@ static struct irq_chip ioapic_chip __read_mostly = { | |||
1875 | .irq_ack = irq_chip_ack_parent, | 1875 | .irq_ack = irq_chip_ack_parent, |
1876 | .irq_eoi = ioapic_ack_level, | 1876 | .irq_eoi = ioapic_ack_level, |
1877 | .irq_set_affinity = ioapic_set_affinity, | 1877 | .irq_set_affinity = ioapic_set_affinity, |
1878 | .irq_retrigger = irq_chip_retrigger_hierarchy, | ||
1879 | .flags = IRQCHIP_SKIP_SET_WAKE, | 1878 | .flags = IRQCHIP_SKIP_SET_WAKE, |
1880 | }; | 1879 | }; |
1881 | 1880 | ||
@@ -1887,7 +1886,6 @@ static struct irq_chip ioapic_ir_chip __read_mostly = { | |||
1887 | .irq_ack = irq_chip_ack_parent, | 1886 | .irq_ack = irq_chip_ack_parent, |
1888 | .irq_eoi = ioapic_ir_ack_level, | 1887 | .irq_eoi = ioapic_ir_ack_level, |
1889 | .irq_set_affinity = ioapic_set_affinity, | 1888 | .irq_set_affinity = ioapic_set_affinity, |
1890 | .irq_retrigger = irq_chip_retrigger_hierarchy, | ||
1891 | .flags = IRQCHIP_SKIP_SET_WAKE, | 1889 | .flags = IRQCHIP_SKIP_SET_WAKE, |
1892 | }; | 1890 | }; |
1893 | 1891 | ||
@@ -2117,6 +2115,7 @@ static inline void __init check_timer(void) | |||
2117 | if (idx != -1 && irq_trigger(idx)) | 2115 | if (idx != -1 && irq_trigger(idx)) |
2118 | unmask_ioapic_irq(irq_get_chip_data(0)); | 2116 | unmask_ioapic_irq(irq_get_chip_data(0)); |
2119 | } | 2117 | } |
2118 | irq_domain_deactivate_irq(irq_data); | ||
2120 | irq_domain_activate_irq(irq_data); | 2119 | irq_domain_activate_irq(irq_data); |
2121 | if (timer_irq_works()) { | 2120 | if (timer_irq_works()) { |
2122 | if (disable_timer_pin_1 > 0) | 2121 | if (disable_timer_pin_1 > 0) |
@@ -2138,6 +2137,7 @@ static inline void __init check_timer(void) | |||
2138 | * legacy devices should be connected to IO APIC #0 | 2137 | * legacy devices should be connected to IO APIC #0 |
2139 | */ | 2138 | */ |
2140 | replace_pin_at_irq_node(data, node, apic1, pin1, apic2, pin2); | 2139 | replace_pin_at_irq_node(data, node, apic1, pin1, apic2, pin2); |
2140 | irq_domain_deactivate_irq(irq_data); | ||
2141 | irq_domain_activate_irq(irq_data); | 2141 | irq_domain_activate_irq(irq_data); |
2142 | legacy_pic->unmask(0); | 2142 | legacy_pic->unmask(0); |
2143 | if (timer_irq_works()) { | 2143 | if (timer_irq_works()) { |