Skip to content

Commit 4600d7c

Browse files
pmundtKAGA-KOKO
authored andcommitted
genirq: Fix up irq_node() for irq_data changes.
Now that the node ID is tracked in the irq_data structure, update the irq_node() definition accordingly. This fixes up irq_node() usage under GENERIC_HARDIRQS_NO_DEPRECATED && SMP. Signed-off-by: Paul Mundt <lethal@linux-sh.org> LKML-Reference: <20101028023031.GB10365@linux-sh.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 639bd12 commit 4600d7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/irqnr.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ unsigned int irq_get_next_irq(unsigned int offset);
4343
else
4444

4545
#ifdef CONFIG_SMP
46-
#define irq_node(irq) (irq_to_desc(irq)->node)
46+
#define irq_node(irq) (irq_get_irq_data(irq)->node)
4747
#else
4848
#define irq_node(irq) 0
4949
#endif

0 commit comments

Comments
 (0)