aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-11-06 03:48:40 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-11-13 11:47:40 +0000
commitb62655f4c6f3e4d21934eee14ac2ac5cd479c97c (patch)
tree9ce3d50f4bd5c97929de97b3bdcc8059104a8811 /arch/arm/kernel/smp.c
parentee951c630c5ce5108f8014ce1c9d738b5bbfea60 (diff)
downloadvexpress-lsk-b62655f4c6f3e4d21934eee14ac2ac5cd479c97c.tar.gz
ARM: 7571/1: SMP: add function arch_send_wakeup_ipi_mask()
Add function arch_send_wakeup_ipi_mask(), so that platform code can use it as an easy way to wake up cores that are in WFI. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r--arch/arm/kernel/smp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 8e20754dd31..dd5dd0248b8 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -415,6 +415,11 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask)
smp_cross_call(mask, IPI_CALL_FUNC);
}
+void arch_send_wakeup_ipi_mask(const struct cpumask *mask)
+{
+ smp_cross_call(mask, IPI_WAKEUP);
+}
+
void arch_send_call_function_single_ipi(int cpu)
{
smp_cross_call(cpumask_of(cpu), IPI_CALL_FUNC_SINGLE);