From 9854a38e371a153c7c4adb2cb7951c27befe0362 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 5 Nov 2011 15:40:09 +0000 Subject: ARM: restart: mmp: use new restart hook Hook the Shark restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King --- arch/arm/mach-mmp/common.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/arm/mach-mmp/common.c') diff --git a/arch/arm/mach-mmp/common.c b/arch/arm/mach-mmp/common.c index 5720674739f0..062b5b93c50e 100644 --- a/arch/arm/mach-mmp/common.c +++ b/arch/arm/mach-mmp/common.c @@ -45,3 +45,8 @@ void __init mmp_map_io(void) /* this is early, initialize mmp_chip_id here */ mmp_chip_id = __raw_readl(MMP_CHIPID); } + +void mmp_restart(char mode, const char *cmd) +{ + soft_restart(0); +} -- cgit