summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardirq.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-11-27 21:54:41 -0500
committerNicolas Pitre <nicolas.pitre@linaro.org>2013-09-23 18:47:26 -0400
commit5135d875e1457ef946a055003d8f80713e862135 (patch)
tree6cd37d9a8fd486ac2af3205b9baf2dce20ac0040 /arch/arm/include/asm/hardirq.h
parent108a9640abfada2599b6cb08c7cc00a4eebf8f8f (diff)
downloadop-kernel-dev-5135d875e1457ef946a055003d8f80713e862135.zip
op-kernel-dev-5135d875e1457ef946a055003d8f80713e862135.tar.gz
ARM: SMP: basic IPI triggered completion support
We need a mechanism to let an inbound CPU signal that it is alive before even getting into the kernel environment i.e. from early assembly code. Using an IPI is the simplest way to achieve that. This adds some basic infrastructure to register a struct completion pointer to be "completed" when the dedicated IPI for this task is received. Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/hardirq.h')
-rw-r--r--arch/arm/include/asm/hardirq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h
index 2740c2a..3d7351c 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 6
+#define NR_IPI 7
typedef struct {
unsigned int __softirq_pending;
OpenPOWER on IntegriCloud