projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Intel rdrand support
[fio.git]
/
lib
/
rand.c
diff --git
a/lib/rand.c
b/lib/rand.c
index 185b679e7c1365956cd80e40d433dc8fa41a951e..1d189a277cca2e9fa0c6c5d32cd9a70b41f867a2 100644
(file)
--- a/
lib/rand.c
+++ b/
lib/rand.c
@@
-38,6
+38,8
@@
#include "rand.h"
#include "../hash.h"
+int arch_random;
+
static inline int __seed(unsigned int x, unsigned int m)
{
return (x < m) ? x + m : x;