[RFC PATCH 5/8] AMP: smp: Extend number of IPIs

From: Michal Simek
Date: Mon Jun 18 2012 - 07:30:48 EST


GIC supports up to 16 IPIs.

Signed-off-by: Michal Simek <monstr@xxxxxxxxx>

---
Please correct me if this code is also designed for different
interrupt controller which doesn't support 16 IPIs.
---
arch/arm/include/asm/hardirq.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h
index 436e60b..3e9ded5 100644
--- a/arch/arm/include/asm/hardirq.h
+++ b/arch/arm/include/asm/hardirq.h
@@ -5,7 +5,7 @@
#include <linux/threads.h>
#include <asm/irq.h>

-#define NR_IPI 5
+#define NR_IPI 16

typedef struct {
unsigned int __softirq_pending;
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/