Russell King
e879c862fb
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 <nico@linaro.org >
Acked-by: Will Deacon <will.deacon@arm.com >
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Acked-by: Kukjin Kim <kgene.kim@samsung.com >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Acked-by: Viresh Kumar <viresh.kumar@st.com >
Acked-by: Krzysztof Ha■asa <khc@pm.waw.pl >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org >
Acked-by: Wan ZongShun <mcuos.com@gmail.com >
Acked-by: Eric Miao <eric.y.miao@gmail.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-11-21 09:47:48 +00:00
Nicolas Pitre
2f82af08fc
Nicolas Pitre has a new email address
...
Due to problems at cam.org, my nico@cam.org email address is no longer
valid. FRom now on, nico@fluxnic.net should be used instead.
Signed-off-by: Nicolas Pitre <nico@fluxnic.net >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-15 09:37:12 -07:00
Russell King
be093beb60
[ARM] pass reboot command line to arch_reset()
...
OMAP wishes to pass state to the boot loader upon reboot in order to
instruct it whether to wait for USB-based reflashing or not. There is
already a facility to do this via the reboot() syscall, except we ignore
the string passed to machine_restart().
This patch fixes things to pass this string to arch_reset(). This means
that we keep the reboot mode limited to telling the kernel _how_ to
perform the reboot which should be independent of what we request the
boot loader to do.
Acked-by: Tony Lindgren <tony@atomide.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-03-19 16:20:24 +00:00
Russell King
a09e64fbc0
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2008-08-07 09:55:48 +01:00