Commit 8f6aef92 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] arch_reset() now takes a second parameter

Add it to the new platforms.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0d34fb8e
...@@ -28,7 +28,7 @@ static inline void arch_idle(void) ...@@ -28,7 +28,7 @@ static inline void arch_idle(void)
cpu_do_idle(); 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, __raw_writel(RESET_GLOBAL | RESET_CPU1,
IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET); IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET);
......
...@@ -14,7 +14,7 @@ static inline void arch_idle(void) ...@@ -14,7 +14,7 @@ static inline void arch_idle(void)
cpu_do_idle(); cpu_do_idle();
} }
static inline void arch_reset(char mode) static inline void arch_reset(char mode, const char *cmd)
{ {
cpu_reset(0); cpu_reset(0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment