Skip to content

Commit

Permalink
ARM: restart: remove comments about adding code to arch_reset()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Jan 5, 2012
1 parent e684937 commit 5e3aa52
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions arch/arm/mach-msm/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@
* 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
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-picoxcell/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
1 change: 0 additions & 1 deletion arch/arm/mach-ux500/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion arch/arm/mach-zynq/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5e3aa52

Please sign in to comment.