summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-27 23:03:23 -0800
committerOlof Johansson <olof@lixom.net>2013-01-27 23:03:34 -0800
commit66eae035dc59755c51ad3b3c718a5ed7535322e3 (patch)
treea30f914378e8c72c2885d2d53551d6e3fbf4bd6d /arch/arm/kernel/smp.c
parentd128bc9131225f830fe7ba8c75b2b859348fddd4 (diff)
parentf8060f5446b1f2782f0a8ca9be2d870ea4198aee (diff)
downloadblackbird-op-linux-66eae035dc59755c51ad3b3c718a5ed7535322e3.tar.gz
blackbird-op-linux-66eae035dc59755c51ad3b3c718a5ed7535322e3.zip
Merge branch 'depends/cleanup' into next/soc
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r--arch/arm/kernel/smp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 84f4cbf652e5..3fc96db2a4b6 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -416,7 +416,8 @@ static void (*smp_cross_call)(const struct cpumask *, unsigned int);
void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int))
{
- smp_cross_call = fn;
+ if (!smp_cross_call)
+ smp_cross_call = fn;
}
void arch_send_call_function_ipi_mask(const struct cpumask *mask)
OpenPOWER on IntegriCloud