diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-04 18:56:11 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-12 14:12:01 +0100 |
commit | 08221110e88ae101acf2464154f98e6d1b1ab21c (patch) | |
tree | 45f07a6d74a426084e9cf35bac50d9c915901d3a /arch/x86/kernel/apic | |
parent | 51c43ac6e4540786a6d79ea318b30f7bfa615ec7 (diff) | |
download | blackbird-op-linux-08221110e88ae101acf2464154f98e6d1b1ab21c.tar.gz blackbird-op-linux-08221110e88ae101acf2464154f98e6d1b1ab21c.zip |
x86: ioapic: Use new move_irq functions
Use the functions which take irq_data. We already have a pointer to
irq_data. That avoids a sparse irq lookup in move_*_irq.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic')
-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 e481e00a1b65..e9d4b963ba0e 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -2374,7 +2374,7 @@ static inline void irq_complete_move(struct irq_cfg *cfg) { } static void ack_apic_edge(struct irq_data *data) { irq_complete_move(data->chip_data); - move_native_irq(data->irq); + irq_move_irq(data); ack_APIC_irq(); } @@ -2520,7 +2520,7 @@ static void ack_apic_level(struct irq_data *data) * and you can go talk to the chipset vendor about it. */ if (!io_apic_level_ack_pending(cfg)) - move_masked_irq(irq); + irq_move_masked_irq(data); unmask_ioapic(cfg); } } |