diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-28 20:51:13 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 08:50:32 -0400 |
commit | 851d7cf647e0d31668eb5dc496f7698a2f6136b4 (patch) | |
tree | 15a292814827ef43cbfa6d28e41c7058bf71ebf7 | |
parent | 0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1 (diff) |
genirq: Remove move_*irq leftovers
All users converted to new interface.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/linux/irq.h | 4 | ||||
-rw-r--r-- | kernel/irq/migration.c | 10 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 7b3faace437d..2a375a72ce3c 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -386,13 +386,9 @@ extern int __irq_set_affinity_locked(struct irq_data *data, const struct cpumas | |||
386 | #ifdef CONFIG_GENERIC_HARDIRQS | 386 | #ifdef CONFIG_GENERIC_HARDIRQS |
387 | 387 | ||
388 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ) | 388 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_PENDING_IRQ) |
389 | void move_native_irq(int irq); | ||
390 | void move_masked_irq(int irq); | ||
391 | void irq_move_irq(struct irq_data *data); | 389 | void irq_move_irq(struct irq_data *data); |
392 | void irq_move_masked_irq(struct irq_data *data); | 390 | void irq_move_masked_irq(struct irq_data *data); |
393 | #else | 391 | #else |
394 | static inline void move_native_irq(int irq) { } | ||
395 | static inline void move_masked_irq(int irq) { } | ||
396 | static inline void irq_move_irq(struct irq_data *data) { } | 392 | static inline void irq_move_irq(struct irq_data *data) { } |
397 | static inline void irq_move_masked_irq(struct irq_data *data) { } | 393 | static inline void irq_move_masked_irq(struct irq_data *data) { } |
398 | #endif | 394 | #endif |
diff --git a/kernel/irq/migration.c b/kernel/irq/migration.c index e33d9c8d5089..bc6194698dfd 100644 --- a/kernel/irq/migration.c +++ b/kernel/irq/migration.c | |||
@@ -53,11 +53,6 @@ void irq_move_masked_irq(struct irq_data *idata) | |||
53 | cpumask_clear(desc->pending_mask); | 53 | cpumask_clear(desc->pending_mask); |
54 | } | 54 | } |
55 | 55 | ||
56 | void move_masked_irq(int irq) | ||
57 | { | ||
58 | irq_move_masked_irq(irq_get_irq_data(irq)); | ||
59 | } | ||
60 | |||
61 | void irq_move_irq(struct irq_data *idata) | 56 | void irq_move_irq(struct irq_data *idata) |
62 | { | 57 | { |
63 | bool masked; | 58 | bool masked; |
@@ -80,8 +75,3 @@ void irq_move_irq(struct irq_data *idata) | |||
80 | if (!masked) | 75 | if (!masked) |
81 | idata->chip->irq_unmask(idata); | 76 | idata->chip->irq_unmask(idata); |
82 | } | 77 | } |
83 | |||
84 | void move_native_irq(int irq) | ||
85 | { | ||
86 | irq_move_irq(irq_get_irq_data(irq)); | ||
87 | } | ||