projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i945: fix tsc udelay()
[coreboot.git]
/
src
/
northbridge
/
intel
/
i945
/
udelay.c
diff --git
a/src/northbridge/intel/i945/udelay.c
b/src/northbridge/intel/i945/udelay.c
index 6b3882bc18532a0b3487d7f21c2c75cdd09cfb62..9170335bd58c56c5c5736a225a847904012c7739 100644
(file)
--- a/
src/northbridge/intel/i945/udelay.c
+++ b/
src/northbridge/intel/i945/udelay.c
@@
-78,7
+78,7
@@
void udelay(u32 us)
do {
tsc = rdtsc();
- } while ((tsc.hi
>
tsc1.hi)
- || ((tsc.hi == tsc1.hi) && (tsc.lo
>
tsc1.lo)));
+ } while ((tsc.hi
<
tsc1.hi)
+ || ((tsc.hi == tsc1.hi) && (tsc.lo
<
tsc1.lo)));
}