Skip to content

Commit

Permalink
genirq: Fix up irq_node() for irq_data changes.
Browse files Browse the repository at this point in the history
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 <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
pmundt authored and KAGA-KOKO committed Oct 28, 2010
1 parent 639bd12 commit 4600d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/irqnr.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ unsigned int irq_get_next_irq(unsigned int offset);
else

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

0 comments on commit 4600d7c

Please sign in to comment.