* [PATCH] genirq: Fix up irq_node() for irq_data changes.
@ 2010-10-28 2:30 Paul Mundt
2010-10-28 10:01 ` [tip:irq/core] " tip-bot for Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2010-10-28 2:30 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Ingo Molnar, linux-kernel
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>
---
include/linux/irqnr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/irqnr.h b/include/linux/irqnr.h
index 05aa8c2..3bc4dca 100644
--- a/include/linux/irqnr.h
+++ b/include/linux/irqnr.h
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:irq/core] genirq: Fix up irq_node() for irq_data changes.
2010-10-28 2:30 [PATCH] genirq: Fix up irq_node() for irq_data changes Paul Mundt
@ 2010-10-28 10:01 ` tip-bot for Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Paul Mundt @ 2010-10-28 10:01 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, lethal, tglx
Commit-ID: 4600d7c493f354a3e338a35bcf8a3bfbe815776a
Gitweb: http://git.kernel.org/tip/4600d7c493f354a3e338a35bcf8a3bfbe815776a
Author: Paul Mundt <lethal@linux-sh.org>
AuthorDate: Thu, 28 Oct 2010 11:30:31 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 28 Oct 2010 11:58:39 +0200
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>
---
include/linux/irqnr.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/irqnr.h b/include/linux/irqnr.h
index 05aa8c23..3bc4dca 100644
--- a/include/linux/irqnr.h
+++ b/include/linux/irqnr.h
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-28 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 2:30 [PATCH] genirq: Fix up irq_node() for irq_data changes Paul Mundt
2010-10-28 10:01 ` [tip:irq/core] " tip-bot for Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome