summaryrefslogtreecommitdiffstats
path: root/src/core/random.c
diff options
context:
space:
mode:
authorMichael Brown2008-03-10 14:02:53 +0100
committerMichael Brown2008-03-10 14:02:53 +0100
commit3e781eb87f7b5bfa638f94234bb5e9d64508b0a4 (patch)
tree5884ac0438320638c846166856a4b54b3564bd23 /src/core/random.c
parent[PXE] Work around a buffer-size bug in WinPE (diff)
parentUse plain C in timer_rdtsc for division instead of inline asssembly. (diff)
downloadipxe-3e781eb87f7b5bfa638f94234bb5e9d64508b0a4.tar.gz
ipxe-3e781eb87f7b5bfa638f94234bb5e9d64508b0a4.tar.xz
ipxe-3e781eb87f7b5bfa638f94234bb5e9d64508b0a4.zip
Merge branch 'xl0-timer'
Diffstat (limited to 'src/core/random.c')
-rw-r--r--src/core/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/random.c b/src/core/random.c
index e4a70d434..d34e763a6 100644
--- a/src/core/random.c
+++ b/src/core/random.c
@@ -5,7 +5,7 @@
*/
#include <stdlib.h>
-#include <latch.h>
+#include <gpxe/timer.h>
static int32_t rnd_seed = 0;