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

From: Chris Metcalf
Date: Fri Jun 01 2012 - 14:07:58 EST


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 <cmetcalf@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Yong Zhang <yong.zhang0@xxxxxxxxx>
> Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>
> ---
>
> arch/tile/kernel/smpboot.c | 22 ++++++++--------------
> 1 files changed, 8 insertions(+), 14 deletions(-)

Acked-by: Chris Metcalf <cmetcalf@xxxxxxxxxx>

--
Chris Metcalf, Tilera Corp.
http://www.tilera.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/