Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63839
b: refs/heads/master
c: b291aa7
h: refs/heads/master
i:
  63837: 8d0e61b
  63835: 1dab66b
  63831: dc5cd8a
  63823: 2893a6e
  63807: e20f6fe
v: v3
  • Loading branch information
Robin Holt authored and Linus Torvalds committed Aug 11, 2007
1 parent a2e4f8b commit 8137b6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: d31c5ab147e0b17b9ec0daa5e4d1fc0bd6b19974
refs/heads/master: b291aa7a6564e859af144e1bd14ffa463519b198
6 changes: 2 additions & 4 deletions trunk/arch/x86_64/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,8 @@ static void setup_APIC_timer(unsigned int clocks)

/* wait for irq slice */
if (hpet_address && hpet_use_timer) {
int trigger = hpet_readl(HPET_T0_CMP);
while (hpet_readl(HPET_COUNTER) >= trigger)
/* do nothing */ ;
while (hpet_readl(HPET_COUNTER) < trigger)
u32 trigger = hpet_readl(HPET_T0_CMP);
while (hpet_readl(HPET_T0_CMP) == trigger)
/* do nothing */ ;
} else {
int c1, c2;
Expand Down

0 comments on commit 8137b6f

Please sign in to comment.