提交 5e3aa527 编写于 作者: R Russell King

ARM: restart: remove comments about adding code to arch_reset()

arch_reset() is deprecated; systems should hook into system restart via
the 'restart' method in the platforms machine description record.
Acked-by: NNicolas Pitre <nico@linaro.org>
Acked-by: NJamie Iles <jamie@jamieiles.com>
Acked-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 e6849374
...@@ -12,14 +12,10 @@ ...@@ -12,14 +12,10 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
*/ */
#include <mach/hardware.h>
void arch_idle(void); void arch_idle(void);
static inline void arch_reset(char mode, const char *cmd) static inline void arch_reset(char mode, const char *cmd)
{ {
for (;;) ; /* depends on IPC w/ other core */
} }
/* low level hardware reset hook -- for example, hitting the /* low level hardware reset hook -- for example, hitting the
......
...@@ -25,7 +25,6 @@ static inline void arch_idle(void) ...@@ -25,7 +25,6 @@ static inline void arch_idle(void)
static inline void arch_reset(int mode, const char *cmd) static inline void arch_reset(int mode, const char *cmd)
{ {
/* Watchdog reset to go here. */
} }
#endif /* __ASM_ARCH_SYSTEM_H */ #endif /* __ASM_ARCH_SYSTEM_H */
...@@ -19,7 +19,6 @@ static inline void arch_idle(void) ...@@ -19,7 +19,6 @@ static inline void arch_idle(void)
static inline void arch_reset(char mode, const char *cmd) static inline void arch_reset(char mode, const char *cmd)
{ {
/* yet to be implemented - TODO */
} }
#endif #endif
...@@ -22,7 +22,6 @@ static inline void arch_idle(void) ...@@ -22,7 +22,6 @@ static inline void arch_idle(void)
static inline void arch_reset(char mode, const char *cmd) static inline void arch_reset(char mode, const char *cmd)
{ {
/* Add architecture specific reset processing here */
} }
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册