Re: [PATCH 12/27] tile, smpboot: Use generic SMP booting infrastructure

From
Chris Metcalf <hidden>
Date
2012-06-01 18:08:03
Also in
lkml
Reply to
Srivatsa S. Bhat, 2012-06-01
On 6/1/2012 5:12 AM, Srivatsa S. Bhat wrote:
Convert tile to use the generic framework to boot secondary CPUs.

Notes:
1. Don't enable interrupts in start_secondary().
2. Remove the unnecessary calls to local_irq_enable() in __cpu_up().
3. cpu_idle() was being called after doing a preempt_enable() instead
of a preempt_disable()! Fix it.

Cc: Chris Metcalf <redacted>
Cc: Thomas Gleixner <redacted>
Cc: Yong Zhang <redacted>
Signed-off-by: Srivatsa S. Bhat <redacted>
---

 arch/tile/kernel/smpboot.c |   22 ++++++++--------------
 1 files changed, 8 insertions(+), 14 deletions(-)
Acked-by: Chris Metcalf <redacted>

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com
Thread (81 messages) 81 messages, 12 authors, last reply 2012-06-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help