lkml.org 
[lkml]   [2012]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] irqdomain: fix typo in IRQ_BITMAP_BITS definition
Date
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."


\
 
 \ /
  Last update: 2012-04-19 18:17    [W:0.034 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site