Go to the documentation of this file.
23 #include <asm/processor.h>
25 #include <asm/sections.h>
27 static int __init x86_rdrand_setup(
char *
s)
32 __setup(
"nordrand", x86_rdrand_setup);
35 static inline int rdrand_long(
unsigned long *
v)
43 :
"=r" (ok),
"=a" (*v)
53 #define RESEED_LOOP ((512*128)/sizeof(unsigned long))
57 #ifdef CONFIG_ARCH_RANDOM
65 ok = rdrand_long(&tmp);
70 if (count != RESEED_LOOP)