diff options
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r-- | arch/arm/kernel/smp.c | 3 |
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); | |||
416 | 416 | ||
417 | void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) | 417 | void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) |
418 | { | 418 | { |
419 | smp_cross_call = fn; | 419 | if (!smp_cross_call) |
420 | smp_cross_call = fn; | ||
420 | } | 421 | } |
421 | 422 | ||
422 | void arch_send_call_function_ipi_mask(const struct cpumask *mask) | 423 | void arch_send_call_function_ipi_mask(const struct cpumask *mask) |