projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa93e8e
)
ARC: make plat_smp_ops weak to allow over-rides
author
Vineet Gupta
<vgupta@synopsys.com>
Thu, 4 Jun 2015 12:07:23 +0000
(17:37 +0530)
committer
Vineet Gupta
<vgupta@synopsys.com>
Mon, 22 Jun 2015 08:36:56 +0000
(14:06 +0530)
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>
arch/arc/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arc/kernel/smp.c
b/arch/arc/kernel/smp.c
index ee2982dda5a65052c3093593593109586c0326ed..d07cb53d764186e096e864156d6909b754938a05 100644
(file)
--- 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;
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;