From: Russell King Date: Tue, 1 Nov 2011 13:16:26 +0000 (+0000) Subject: ARM: restart: only perform setup for restart when soft-restarting X-Git-Tag: sz_154~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f168c6d7ac6d5a62e40e62241443e7fae0cd65c;p=pandora-kernel.git ARM: restart: only perform setup for restart when soft-restarting 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. Acked-by: Nicolas Pitre Acked-by: Will Deacon Acked-by: H Hartley Sweeten Acked-by: Kukjin Kim Acked-by: Sascha Hauer Acked-by: Viresh Kumar Acked-by: Krzysztof Ha■asa Acked-by: Paul Mundt Acked-by: Richard Purdie Acked-by: Wan ZongShun Acked-by: Eric Miao Signed-off-by: Russell King --- Reading git-diff-tree failed