diff options
-rw-r--r-- | arch/x86_64/kernel/reboot.c | 2 | ||||
-rw-r--r-- | include/asm-i386/mach-default/mach_reboot.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/reboot.c b/arch/x86_64/kernel/reboot.c index 97804bc2c0a0..75235ed2b31b 100644 --- a/arch/x86_64/kernel/reboot.c +++ b/arch/x86_64/kernel/reboot.c | |||
@@ -121,7 +121,7 @@ void machine_emergency_restart(void) | |||
121 | /* Could also try the reset bit in the Hammer NB */ | 121 | /* Could also try the reset bit in the Hammer NB */ |
122 | switch (reboot_type) { | 122 | switch (reboot_type) { |
123 | case BOOT_KBD: | 123 | case BOOT_KBD: |
124 | for (i=0; i<100; i++) { | 124 | for (i=0; i<10; i++) { |
125 | kb_wait(); | 125 | kb_wait(); |
126 | udelay(50); | 126 | udelay(50); |
127 | outb(0xfe,0x64); /* pulse reset low */ | 127 | outb(0xfe,0x64); /* pulse reset low */ |
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) | |||
19 | static inline void mach_reboot(void) | 19 | static inline void mach_reboot(void) |
20 | { | 20 | { |
21 | int i; | 21 | int i; |
22 | for (i = 0; i < 100; i++) { | 22 | for (i = 0; i < 10; i++) { |
23 | kb_wait(); | 23 | kb_wait(); |
24 | udelay(50); | 24 | udelay(50); |
25 | outb(0x60, 0x64); /* write Controller Command Byte */ | 25 | outb(0x60, 0x64); /* write Controller Command Byte */ |