diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-05 11:12:35 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 12:57:12 +0000 |
commit | 0d68370b246dad8c4a94c3a49d700622664ad89a (patch) | |
tree | 5659026f23d1910b43a630b85b34288b00a7376a /arch/arm/mach-h720x/include/mach/system.h | |
parent | 6fca1e17f64936de2e9c614c0d246e65ae553b68 (diff) |
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/mach/system.h')
-rw-r--r-- | arch/arm/mach-h720x/include/mach/system.h | 4 |
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 a708d24ee46..b04f08dcc49 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 |