Re: [PATCH RFC v1 1/3] ARM: Add irq disabled version of soft_restart.

From: Russell King - ARM Linux
Date: Sat Feb 22 2014 - 05:26:32 EST


On Tue, Feb 18, 2014 at 05:52:07PM -0800, Sebastian Capella wrote:
> From: Russ Dill <Russ.Dill@xxxxxx>
>
> This adds the ability to run soft_restart with local_irq/fiq_disable
> already called. This is helpful for the hibernation code paths.

I'd rather keep this simple. There's no problem with calling soft_restart
with interrupts already disabled. local_irq_disable()/local_fiq_disable()
there should be harmless.

--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
--
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/