summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x/common.c
diff options
context:
space:
mode:
authorRussell King2011-11-05 18:41:52 +0100
committerRussell King2012-01-05 13:57:08 +0100
commit6c00071268b19f92d29e5bec873a12380afd9199 (patch)
tree78bf5806f830ee319aba08c112759cee93b7d439 /arch/arm/mach-clps711x/common.c
parentARM: restart: bcmring: use new restart hook (diff)
downloadkernel-qcow2-linux-6c00071268b19f92d29e5bec873a12380afd9199.tar.gz
kernel-qcow2-linux-6c00071268b19f92d29e5bec873a12380afd9199.tar.xz
kernel-qcow2-linux-6c00071268b19f92d29e5bec873a12380afd9199.zip
ARM: restart: clps711x: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-clps711x/common.c')
-rw-r--r--arch/arm/mach-clps711x/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c
index ced2a4e406f4..ab1711b9b4d6 100644
--- a/arch/arm/mach-clps711x/common.c
+++ b/arch/arm/mach-clps711x/common.c
@@ -220,3 +220,8 @@ struct sys_timer clps711x_timer = {
.init = clps711x_timer_init,
.offset = clps711x_gettimeoffset,
};
+
+void clps711x_restart(char mode, const char *cmd)
+{
+ soft_restart(0);
+}