aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-17 07:16:08 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-17 07:16:08 -0500
commit948a7b2b5e2bf126fb697aeb11ff379b2c85dd2e (patch)
tree727c744438a44d85f7dc340b1bfcb3b127c84f13 /include
parent9466d6036f73481104039fbe99338baed11c8fea (diff)
parent17483a1f34c970e6c2cb8c082d4441bfabbe88a9 (diff)
Merge branch 'irq/sparseirq' into cpus4096
Conflicts: arch/x86/kernel/io_apic.c Merge irq/sparseirq here, to resolve conflicts.
Diffstat (limited to 'include')
-rw-r--r--include/linux/irq.h10
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
231static inline struct irq_desc *
232irq_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 */