diff options
author | Andi Kleen <ak@suse.de> | 2005-11-05 17:25:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-15 04:55:16 +0100 |
commit | a6f5deb2be4c82f24fefadcbf7e448f540c05ae6 (patch) | |
tree | f138057dbbd6bf08d52404e758f3db8502af1c29 /include/asm-i386 | |
parent | [PATCH] x86_64: x86_64/i386 fix Intel cache detection code assumption about t... (diff) | |
download | linux-a6f5deb2be4c82f24fefadcbf7e448f540c05ae6.tar.xz linux-a6f5deb2be4c82f24fefadcbf7e448f540c05ae6.zip |
[PATCH] x86_64: Reduce number of retries for reset through keyboard controller
Old code could retry for 10 seconds worst time. Only try it
for one second now.
Suggested by Yinghai Lu
Cc: Yinghai.Lu@amd.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/mach-default/mach_reboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/mach-default/mach_reboot.h b/include/asm-i386/mach-default/mach_reboot.h index 06ae4d81ba6a..a955e57ad016 100644 --- a/include/asm-i386/mach-default/mach_reboot.h +++ b/include/asm-i386/mach-default/mach_reboot.h @@ -19,7 +19,7 @@ static inline void kb_wait(void) static inline void mach_reboot(void) { int i; - for (i = 0; i < 100; i++) { + for (i = 0; i < 10; i++) { kb_wait(); udelay(50); outb(0x60, 0x64); /* write Controller Command Byte */ |