linux/arch/arm/mach-pnx4008
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
..
include/mach ARM: restart: only perform setup for restart when soft-restarting 2011-11-21 09:47:48 +00:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
clock.h ARM: PNX4008: provide clock enable/disable methods and initialization 2010-02-12 17:32:36 +00:00
core.c ARM: mach-pnx4008: convert boot_params to atag_offset 2011-08-21 17:15:06 -04:00
dma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
gpio.c ARM: 7057/1: mach-pnx4008: rename GPIO header 2011-08-23 15:30:04 +01:00
i2c.c ARM: PNX4008: move i2c_adapter structure inside the drivers private data 2010-02-12 17:32:41 +00:00
irq.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
Makefile i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
serial.c ARM: 7057/1: mach-pnx4008: rename GPIO header 2011-08-23 15:30:04 +01:00
sleep.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
time.c ARM: PNX4008: remove platform definitions from mach/timex.h 2010-02-12 17:32:39 +00:00
time.h ARM: PNX4008: remove platform definitions from mach/timex.h 2010-02-12 17:32:39 +00:00