Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80367
b: refs/heads/master
c: c84d6af
h: refs/heads/master
i:
  80365: a1de987
  80363: 439e172
  80359: 0e7913a
  80351: efd00d8
v: v3
  • Loading branch information
Alan Cox authored and Ingo Molnar committed Jan 30, 2008
1 parent 14c930f commit f693ba0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08b6d290f977d8145804fd2b9bc2c331f2484f8e
refs/heads/master: c84d6af881be84687fa924f16b2f4b4690354165
6 changes: 4 additions & 2 deletions trunk/arch/x86/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f693ba0

Please sign in to comment.