aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-h720x/include/mach/system.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 11:12:35 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:12 +0000
commit0d68370b246dad8c4a94c3a49d700622664ad89a (patch)
tree5659026f23d1910b43a630b85b34288b00a7376a /arch/arm/mach-h720x/include/mach/system.h
parentARM: restart: footbridge: use new restart hook (diff)
downloadlinux-dev-0d68370b246dad8c4a94c3a49d700622664ad89a.tar.xz
linux-dev-0d68370b246dad8c4a94c3a49d700622664ad89a.zip
ARM: restart: h720x: 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 '')
-rw-r--r--arch/arm/mach-h720x/include/mach/system.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-h720x/include/mach/system.h b/arch/arm/mach-h720x/include/mach/system.h
index a708d24ee46d..b04f08dcc49a 100644
--- a/arch/arm/mach-h720x/include/mach/system.h
+++ b/arch/arm/mach-h720x/include/mach/system.h
@@ -24,10 +24,8 @@ static void arch_idle(void)
nop();
}
-
-static __inline__ void arch_reset(char mode, const char *cmd)
+static inline void arch_reset(char mode, const char *cmd)
{
- CPU_REG (PMU_BASE, PMU_STAT) |= PMU_WARMRESET;
}
#endif