diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-12-04 09:07:54 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-12-04 09:37:42 -0500 |
commit | 208a49f086ed8cfb3cfa15579c7ee162c54a999b (patch) | |
tree | 5f0c1465dc640c5f58b2c514f8eba15bd642d038 /include/asm-arm | |
parent | d4a89c7d2788e42153d7fc3f0e6f2bde5ede329c (diff) |
[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 <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-at91rm9200/system.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-arm/arch-at91rm9200/system.h b/include/asm-arm/arch-at91rm9200/system.h index 053f2e09c1fc..9c67130603b2 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) | |||
48 | /* call the CPU-specific reset function */ | 48 | /* call the CPU-specific reset function */ |
49 | if (at91_arch_reset) | 49 | if (at91_arch_reset) |
50 | (at91_arch_reset)(); | 50 | (at91_arch_reset)(); |
51 | |||
52 | for (;;) {} /* wait fovever */ | ||
53 | } | 51 | } |
54 | 52 | ||
55 | #endif | 53 | #endif |