提交 8f6aef92 编写于 作者: R Russell King 提交者: Russell King

[ARM] arch_reset() now takes a second parameter

Add it to the new platforms.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册