aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-06-04 08:07:23 -0400
committerVineet Gupta <vgupta@synopsys.com>2015-06-22 04:36:56 -0400
commit173eaafaed284fc95209902f68f011d01d1eda02 (patch)
tree045ab3c2d560b692c8adcf5cde92fbd7dda7ab0e
parentaa93e8ef98471277cfedacd68604bb28b5a35aa7 (diff)
ARC: make plat_smp_ops weak to allow over-rides
This allows platforms to provide their own cpu wakeup routines as well as IPI send / clear backends, while allowing a SMP kernel w/o any such backend to build/boot Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--arch/arc/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index ee2982dda5a6..d07cb53d7641 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -31,7 +31,7 @@ arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
31arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; 31arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
32#endif 32#endif
33 33
34struct plat_smp_ops plat_smp_ops; 34struct plat_smp_ops __weak plat_smp_ops;
35 35
36/* XXX: per cpu ? Only needed once in early seconday boot */ 36/* XXX: per cpu ? Only needed once in early seconday boot */
37struct task_struct *secondary_idle_tsk; 37struct task_struct *secondary_idle_tsk;