All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: Add support for 10 hardirq bits
@ 2010-03-10 11:17 ` Magnus Damm
  0 siblings, 0 replies; 18+ messages in thread
From: Magnus Damm @ 2010-03-10 11:17 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

This patch adds support for 10 hardirq bits to
the ARM architecture. Needed by the SH-Mobile
ARM processor sh7372 that has more than 512 IRQs.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/include/asm/hardirq.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- 0001/arch/arm/include/asm/hardirq.h
+++ work/arch/arm/include/asm/hardirq.h	2010-03-09 21:08:10.000000000 +0900
@@ -12,7 +12,9 @@ typedef struct {
 
 #include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
 
-#if NR_IRQS > 256
+#if NR_IRQS > 512
+#define HARDIRQ_BITS	10
+#elif NR_IRQS > 256
 #define HARDIRQ_BITS	9
 #else
 #define HARDIRQ_BITS	8

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-05-19 10:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 11:17 [PATCH] ARM: Add support for 10 hardirq bits Magnus Damm
2010-03-10 11:17 ` Magnus Damm
2010-04-30  4:02 ` Magnus Damm
2010-04-30  4:02   ` Magnus Damm
2010-05-01  9:44   ` Russell King - ARM Linux
2010-05-01  9:44     ` Russell King - ARM Linux
2010-05-13  7:30     ` Magnus Damm
2010-05-13  7:30       ` Magnus Damm
2010-05-19  7:16       ` Eric Miao
2010-05-19  7:16         ` Eric Miao
2010-05-19  8:37         ` Russell King - ARM Linux
2010-05-19  8:37           ` Russell King - ARM Linux
2010-05-19  9:05           ` Magnus Damm
2010-05-19  9:05             ` Magnus Damm
2010-05-19 10:02             ` Eric Miao
2010-05-19 10:02               ` Eric Miao
2010-05-19  8:51         ` Magnus Damm
2010-05-19  8:51           ` Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.