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 59525b74979f..fde5e6132018 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -228,6 +228,16 @@ extern struct irq_desc *move_irq_desc(struct irq_desc *old_desc, int cpu); | |||
228 | 228 | ||
229 | #endif | 229 | #endif |
230 | 230 | ||
231 | static inline struct irq_desc * | ||
232 | irq_remap_to_desc(unsigned int irq, struct irq_desc *desc) | ||
233 | { | ||
234 | #ifdef CONFIG_NUMA_MIGRATE_IRQ_DESC | ||
235 | return irq_to_desc(irq); | ||
236 | #else | ||
237 | return desc; | ||
238 | #endif | ||
239 | } | ||
240 | |||
231 | /* | 241 | /* |
232 | * Migration helpers for obsolete names, they will go away: | 242 | * Migration helpers for obsolete names, they will go away: |
233 | */ | 243 | */ |