diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index b5749db3e5a1..36a015746788 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -227,6 +227,16 @@ extern struct irq_desc *move_irq_desc(struct irq_desc *old_desc, int cpu); | |||
227 | 227 | ||
228 | #endif | 228 | #endif |
229 | 229 | ||
230 | static inline struct irq_desc * | ||
231 | irq_remap_to_desc(unsigned int irq, struct irq_desc *desc) | ||
232 | { | ||
233 | #ifdef CONFIG_NUMA_MIGRATE_IRQ_DESC | ||
234 | return irq_to_desc(irq); | ||
235 | #else | ||
236 | return desc; | ||
237 | #endif | ||
238 | } | ||
239 | |||
230 | /* | 240 | /* |
231 | * Migration helpers for obsolete names, they will go away: | 241 | * Migration helpers for obsolete names, they will go away: |
232 | */ | 242 | */ |