summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-h720x/include
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
parent6fca1e17f64936de2e9c614c0d246e65ae553b68 (diff)
downloadop-kernel-dev-0d68370b246dad8c4a94c3a49d700622664ad89a.zip
op-kernel-dev-0d68370b246dad8c4a94c3a49d700622664ad89a.tar.gz
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 'arch/arm/mach-h720x/include')
-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 a708d24..b04f08d 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
OpenPOWER on IntegriCloud