]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3977/1: AT91: remove loop waiting for reset
authorAndrew Victor <andrew@sanpeople.com>
Mon, 4 Dec 2006 14:07:54 +0000 (15:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Dec 2006 14:37:42 +0000 (14:37 +0000)
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>
include/asm-arm/arch-at91rm9200/system.h

index 053f2e09c1fc061d7bf4033cc0c51eb46ac3c41c..9c67130603b2896195649648f4869a749d5c5b0b 100644 (file)
@@ -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