From: tip-bot for Paul Mundt <lethal@linux-sh.org>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
lethal@linux-sh.org, tglx@linutronix.de
Subject: [tip:irq/core] genirq: Fix up irq_node() for irq_data changes.
Date: Thu, 28 Oct 2010 10:01:06 GMT [thread overview]
Message-ID: <tip-4600d7c493f354a3e338a35bcf8a3bfbe815776a@git.kernel.org> (raw)
In-Reply-To: <20101028023031.GB10365@linux-sh.org>
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
prev parent reply other threads:[~2010-10-28 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-28 2:30 [PATCH] " Paul Mundt
2010-10-28 10:01 ` tip-bot for Paul Mundt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-4600d7c493f354a3e338a35bcf8a3bfbe815776a@git.kernel.org \
--to=lethal@linux-sh.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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