Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 173eaafa authored by Vineet Gupta's avatar Vineet Gupta
Browse files

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: default avatarVineet Gupta <vgupta@synopsys.com>
parent aa93e8ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
#endif

struct plat_smp_ops  plat_smp_ops;
struct plat_smp_ops  __weak plat_smp_ops;

/* XXX: per cpu ? Only needed once in early seconday boot */
struct task_struct *secondary_idle_tsk;