diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-03 10:53:29 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 13:57:08 +0100 |
commit | 1b2073e7789429e6554e69b307d857d8f46a2e22 (patch) | |
tree | e23f81117bd5ec98b705c9fdd15fce1801a72c88 /arch/arm/mach-at91/include | |
parent | ARM: restart: remove s3c24xx restart handler (diff) | |
download | linux-1b2073e7789429e6554e69b307d857d8f46a2e22.tar.xz linux-1b2073e7789429e6554e69b307d857d8f46a2e22.zip |
ARM: restart: at91: use new restart hook
Rather than using a private function pointer, use the existing
arm_pm_restart function pointer instead. We no longer need to enable
the I-cache in at91sam9_alt_reset() as the caches will now be on when
this function is called.
Update the function names to use the 'restart' terminology rather than
the 'reboot' terminology.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/include')
-rw-r--r-- | arch/arm/mach-at91/include/mach/system.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/include/mach/system.h b/arch/arm/mach-at91/include/mach/system.h index 36af14bc13bb..079eb12b073f 100644 --- a/arch/arm/mach-at91/include/mach/system.h +++ b/arch/arm/mach-at91/include/mach/system.h @@ -47,13 +47,8 @@ static inline void arch_idle(void) #endif } -void (*at91_arch_reset)(void); - static inline void arch_reset(char mode, const char *cmd) { - /* call the CPU-specific reset function */ - if (at91_arch_reset) - (at91_arch_reset)(); } #endif |