From: Andrew Victor Date: Mon, 4 Dec 2006 14:07:54 +0000 (+0100) Subject: [ARM] 3977/1: AT91: remove loop waiting for reset X-Git-Tag: v2.6.20-rc1~15^2^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=208a49f086ed8cfb3cfa15579c7ee162c54a999b;p=linux-2.6-omap-h63xx.git [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: Andrew Victor Signed-off-by: Russell King --- diff --git a/include/asm-arm/arch-at91rm9200/system.h b/include/asm-arm/arch-at91rm9200/system.h index 053f2e09c1f..9c67130603b 100644 --- a/include/asm-arm/arch-at91rm9200/system.h +++ b/include/asm-arm/arch-at91rm9200/system.h @@ -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