[PATCH 6/7] ARM: restart: only perform setup for restart when soft-restarting

Lennert Buytenhek buytenh at wantstofly.org
Thu Nov 24 01:47:14 EST 2011


On Thu, Nov 17, 2011 at 05:42:47PM +0000, Russell King - ARM Linux wrote:

> Ack?
> 
> (If you're in the To: list I'm expecting a reply because this patch is
> touching something you're responsible for.  Thanks.)
> 
> On Sun, Nov 06, 2011 at 05:33:35PM +0000, Russell King - ARM Linux wrote:
> > We only need to set the system up for a soft-restart if we're going to
> > be doing a soft-restart.  Provide a new function (soft_restart()) which
> > does the setup and final call for this, and make platforms use it.
> > Eliminate the call to setup_restart() from the default handler.
> > 
> > This means that platforms arch_reset() function is no longer called with
> > the page tables prepared for a soft-restart, and caches will still be
> > enabled.
> > 
> > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Acked-by: Lennert Buytenhek <buytenh at wantstofly.org>



More information about the linux-arm-kernel mailing list