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