diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-03-29 17:14:45 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-03-30 10:40:12 +0100 |
commit | 8f6aef924d6d83f67e74ca5edc98957867c50ce9 (patch) | |
tree | 0a50299920f6db7f8ada23108e927e7cdac10da4 /arch/arm | |
parent | 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b (diff) |
[ARM] arch_reset() now takes a second parameter
Add it to the new platforms.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-gemini/include/mach/system.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-mmp/include/mach/system.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-gemini/include/mach/system.h b/arch/arm/mach-gemini/include/mach/system.h index bbbd72767a0..4d9c1f87247 100644 --- a/arch/arm/mach-gemini/include/mach/system.h +++ b/arch/arm/mach-gemini/include/mach/system.h @@ -28,7 +28,7 @@ static inline void arch_idle(void) cpu_do_idle(); } -static inline void arch_reset(char mode) +static inline void arch_reset(char mode, const char *cmd) { __raw_writel(RESET_GLOBAL | RESET_CPU1, IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET); diff --git a/arch/arm/mach-mmp/include/mach/system.h b/arch/arm/mach-mmp/include/mach/system.h index 001edfefec1..4f5b0e0ce6c 100644 --- a/arch/arm/mach-mmp/include/mach/system.h +++ b/arch/arm/mach-mmp/include/mach/system.h @@ -14,7 +14,7 @@ static inline void arch_idle(void) cpu_do_idle(); } -static inline void arch_reset(char mode) +static inline void arch_reset(char mode, const char *cmd) { cpu_reset(0); } |