Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4600d7c4 authored by Paul Mundt's avatar Paul Mundt Committed by Thomas Gleixner
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
LKML-Reference: <20101028023031.GB10365@linux-sh.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 639bd12f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -43,7 +43,7 @@ unsigned int irq_get_next_irq(unsigned int offset);
		else
		else


#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
#define irq_node(irq)	(irq_to_desc(irq)->node)
#define irq_node(irq)	(irq_get_irq_data(irq)->node)
#else
#else
#define irq_node(irq)	0
#define irq_node(irq)	0
#endif
#endif