diff --git a/[refs] b/[refs] index 4bb45170025e..94360d518b7c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 08b6d290f977d8145804fd2b9bc2c331f2484f8e +refs/heads/master: c84d6af881be84687fa924f16b2f4b4690354165 diff --git a/trunk/arch/x86/kernel/reboot.c b/trunk/arch/x86/kernel/reboot.c index 5b32f0b4d133..5818dc28167d 100644 --- a/trunk/arch/x86/kernel/reboot.c +++ b/trunk/arch/x86/kernel/reboot.c @@ -319,9 +319,11 @@ static inline void kb_wait(void) { int i; - for (i = 0; i < 0x10000; i++) - if ((inb_p(0x64) & 0x02) == 0) + for (i = 0; i < 0x10000; i++) { + if ((inb(0x64) & 0x02) == 0) break; + udelay(2); + } } void machine_emergency_restart(void)