提交 208a49f0 编写于 作者: A Andrew Victor 提交者: Russell King

[ARM] 3977/1: AT91: remove loop waiting for reset

Removed the infinite loop in our arch_reset().

After calling arch_reset(), the kernel waits for 1 second before
printing a "reboot failed" message and then waits for ever itself.
Signed-off-by: NAndrew Victor <andrew@sanpeople.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 d4a89c7d
......@@ -48,8 +48,6 @@ static inline void arch_reset(char mode)
/* call the CPU-specific reset function */
if (at91_arch_reset)
(at91_arch_reset)();
for (;;) {} /* wait fovever */
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册