]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ARM: restart: remove comments about adding code to arch_reset()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2011 12:36:40 +0000 (12:36 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 5 Jan 2012 12:57:22 +0000 (12:57 +0000)
arch_reset() is deprecated; systems should hook into system restart via
the 'restart' method in the platforms machine description record.

Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-msm/include/mach/system.h
arch/arm/mach-picoxcell/include/mach/system.h
arch/arm/mach-ux500/include/mach/system.h
arch/arm/mach-zynq/include/mach/system.h

index d2e83f42ba1654f79f5953b1e65b0cbefc174785..e180e8b4598a241de5e100ae83b9c73123a26d41 100644 (file)
  * GNU General Public License for more details.
  *
  */
-
-#include <mach/hardware.h>
-
 void arch_idle(void);
 
 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
index 67c589b0c1bcfc2acb52d8668bbd6c3079d06805..a12da634fddfc9a02ee1a3a35f1a03af0b23074a 100644 (file)
@@ -25,7 +25,6 @@ static inline void arch_idle(void)
 
 static inline void arch_reset(int mode, const char *cmd)
 {
-       /* Watchdog reset to go here. */
 }
 
 #endif /* __ASM_ARCH_SYSTEM_H */
index c0cd8006f1a2a197d59e139425ec20826d1b020f..ae1dff1d7e659b412ee49d67c728b48043d003ea 100644 (file)
@@ -19,7 +19,6 @@ static inline void arch_idle(void)
 
 static inline void arch_reset(char mode, const char *cmd)
 {
-       /* yet to be implemented - TODO */
 }
 
 #endif
index 1b84d705c675e43ff584a467f46009aca57dc6c3..34be7ed4b6789a79b98ccab8f5c97a6cb5cd403a 100644 (file)
@@ -22,7 +22,6 @@ static inline void arch_idle(void)
 
 static inline void arch_reset(char mode, const char *cmd)
 {
-       /* Add architecture specific reset processing here */
 }
 
 #endif