瀏覽代碼

[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>
Andrew Victor 18 年之前
父節點
當前提交
208a49f086
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      include/asm-arm/arch-at91rm9200/system.h

+ 0 - 2
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