diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-04 12:46:16 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:25 -0500 |
commit | a439520f8b18917b322f576be04c54aba84bb044 (patch) | |
tree | b835a4b32c057408ed35292c02ad214341e317ed /include | |
parent | 77694b408abb8f92195ad5ed6ce5492f1d794c77 (diff) |
genirq: Implement irq_data based move_*_irq() versions
No need to lookup the irq descriptor when calling from a chip callback
function which has irq_data already handy.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index ea2970c294aa..ff62d0145b8f 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -363,9 +363,13 @@ extern void remove_irq(unsigned int irq, struct irqaction *act); | |||
363 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ) | 363 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ) |
364 | void move_native_irq(int irq); | 364 | void move_native_irq(int irq); |
365 | void move_masked_irq(int irq); | 365 | void move_masked_irq(int irq); |
366 | void irq_move_irq(struct irq_data *data); | ||
367 | void irq_move_masked_irq(struct irq_data *data); | ||
366 | #else | 368 | #else |
367 | static inline void move_native_irq(int irq) { } | 369 | static inline void move_native_irq(int irq) { } |
368 | static inline void move_masked_irq(int irq) { } | 370 | static inline void move_masked_irq(int irq) { } |
371 | static inline void irq_move_irq(struct irq_data *data) { } | ||
372 | static inline void irq_move_masked_irq(struct irq_data *data) { } | ||
369 | #endif | 373 | #endif |
370 | 374 | ||
371 | extern int no_irq_affinity; | 375 | extern int no_irq_affinity; |