aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/io_apic.c2
-rw-r--r--arch/x86_64/kernel/io_apic.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index 6fec4dab70bb..e4408ff4e674 100644
--- a/arch/i386/kernel/io_apic.c
+++ b/arch/i386/kernel/io_apic.c
@@ -1354,7 +1354,6 @@ static void __init setup_IO_APIC_irqs(void)
1354 } 1354 }
1355 spin_lock_irqsave(&ioapic_lock, flags); 1355 spin_lock_irqsave(&ioapic_lock, flags);
1356 __ioapic_write_entry(apic, pin, entry); 1356 __ioapic_write_entry(apic, pin, entry);
1357 irq_desc[irq].affinity = TARGET_CPUS;
1358 spin_unlock_irqrestore(&ioapic_lock, flags); 1357 spin_unlock_irqrestore(&ioapic_lock, flags);
1359 } 1358 }
1360 } 1359 }
@@ -2875,7 +2874,6 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a
2875 2874
2876 spin_lock_irqsave(&ioapic_lock, flags); 2875 spin_lock_irqsave(&ioapic_lock, flags);
2877 __ioapic_write_entry(ioapic, pin, entry); 2876 __ioapic_write_entry(ioapic, pin, entry);
2878 irq_desc[irq].affinity = TARGET_CPUS;
2879 spin_unlock_irqrestore(&ioapic_lock, flags); 2877 spin_unlock_irqrestore(&ioapic_lock, flags);
2880 2878
2881 return 0; 2879 return 0;
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index 48593f6b708f..0a91368f8b60 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -830,10 +830,6 @@ static void setup_IO_APIC_irq(int apic, int pin, unsigned int irq,
830 disable_8259A_irq(irq); 830 disable_8259A_irq(irq);
831 831
832 ioapic_write_entry(apic, pin, entry); 832 ioapic_write_entry(apic, pin, entry);
833
834 spin_lock_irqsave(&ioapic_lock, flags);
835 irq_desc[irq].affinity = TARGET_CPUS;
836 spin_unlock_irqrestore(&ioapic_lock, flags);
837} 833}
838 834
839static void __init setup_IO_APIC_irqs(void) 835static void __init setup_IO_APIC_irqs(void)