diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-10-20 22:42:05 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-12-09 00:31:53 +0000 |
commit | b2e306164faa10ab0be957378a5344f45f7288de (patch) | |
tree | 4a99da705692959223decdd556d7e443bce9312f | |
parent | ef1e43df92c62c8f7ec88349f353a95fea192f2c (diff) | |
download | src-b2e306164faa10ab0be957378a5344f45f7288de.tar.gz src-b2e306164faa10ab0be957378a5344f45f7288de.zip |
nehemiah: manually assemble xstore(-rng)
PR: 259218
(cherry picked from commit 362c6d8dec6dfbedc5717e45769042279a1dd3df)
-rw-r--r-- | sys/dev/random/nehemiah.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c index c5f42b83d220..6666eca2930e 100644 --- a/sys/dev/random/nehemiah.c +++ b/sys/dev/random/nehemiah.c @@ -68,7 +68,7 @@ VIA_RNG_store(void *buf) #ifdef __GNUCLIKE_ASM __asm __volatile( "movl $0,%%edx\n\t" - "xstore" + ".byte 0x0f, 0xa7, 0xc0" : "=a" (retval), "+d" (rate), "+D" (buf) : : "memory" |