projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf70053
)
sparc64: smp_callin: Enable irqs after preemption is disabled
author
Kirill Tkhai
<tkhai@yandex.ru>
Thu, 12 Dec 2013 14:09:50 +0000
(18:09 +0400)
committer
David S. Miller
<davem@davemloft.net>
Sun, 5 Jan 2014 01:55:19 +0000
(17:55 -0800)
Most of other architectures have below suggested order.
So lets do the same to fit generic idle loop scheme better.
Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/smp_64.c
b/arch/sparc/kernel/smp_64.c
index b66a5338231e965252fef5f23234141bb2fc8f85..b085311dcd0ea9f81840e1fc2550c4f870e984eb 100644
(file)
--- a/
arch/sparc/kernel/smp_64.c
+++ b/
arch/sparc/kernel/smp_64.c
@@
-123,11
+123,12
@@
void smp_callin(void)
rmb();
set_cpu_online(cpuid, true);
- local_irq_enable();
/* idle thread is expected to have preempt disabled */
preempt_disable();
+ local_irq_enable();
+
cpu_startup_entry(CPUHP_ONLINE);
}