Skip to content

Commit

Permalink
[ARM] 3977/1: AT91: remove loop waiting for reset
Browse files Browse the repository at this point in the history
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: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Andrew Victor authored and Russell King committed Dec 4, 2006
1 parent d4a89c7 commit 208a49f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/asm-arm/arch-at91rm9200/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 208a49f

Please sign in to comment.