cpu: Make rdseed() macro actually use rdseed

This commit is contained in:
mintsuki 2021-09-02 22:59:51 +02:00
parent 411d735e91
commit 0410e53e3d

View File

@ -175,7 +175,7 @@ inline uint64_t rdtsc(void) {
type ret; \
asm volatile ( \
"1: " \
"rdrand %0;" \
"rdseed %0;" \
"jnc 1b;" \
: "=r" (ret) \
); \