From: Andreas Schwab <schwab@linux-m68k.org>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: Thomas Gleixner <tglx@linutronix.de>, linux-kernel@vger.kernel.org
Subject: [PATCH] irqdomain: fix typo in IRQ_BITMAP_BITS definition
Date: Thu, 19 Apr 2012 18:14:31 +0200 [thread overview]
Message-ID: <m2pqb31yxk.fsf@igel.home> (raw)
8196 is an odd number, change it to the intended 8192.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
Shouldn't it actually be just 8192 or maybe max(NR_IRQS, 8192)?
kernel/irq/internals.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 8e5c56b..6430d0f 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -8,7 +8,7 @@
#include <linux/irqdesc.h>
#ifdef CONFIG_SPARSE_IRQ
-# define IRQ_BITMAP_BITS (NR_IRQS + 8196)
+# define IRQ_BITMAP_BITS (NR_IRQS + 8192)
#else
# define IRQ_BITMAP_BITS NR_IRQS
#endif
--
1.7.10
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next reply other threads:[~2012-04-19 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 16:14 Andreas Schwab [this message]
2012-04-19 16:55 ` Grant Likely
2012-04-19 19:02 ` Thomas Gleixner
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=m2pqb31yxk.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®