diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-10-08 17:26:28 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-10-08 17:26:28 +0000 |
| commit | e7ad54b2b465cbf5103fbb8c1aa6e2adcae7a724 (patch) | |
| tree | f7c9eb3b98d55d163964f9ea7c50ba153063fcd4 /sys/dev/random | |
| parent | 4a06a0fe792dca6d8ff161aa57d061d60d710d62 (diff) | |
Notes
Diffstat (limited to 'sys/dev/random')
| -rw-r--r-- | sys/dev/random/ivy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/ivy.c b/sys/dev/random/ivy.c index 07c87123acc2..5473312b1ff2 100644 --- a/sys/dev/random/ivy.c +++ b/sys/dev/random/ivy.c @@ -68,12 +68,12 @@ ivy_rng_store(long *tmp) __asm __volatile( #ifdef __amd64__ - ".byte\t0x48,0x0f,0xc7,0xf0\n\t" /* rdrand %rax */ + "rdrand\t%%rax\n\t" "jnc\t1f\n\t" "movq\t%%rax,%1\n\t" "movl\t$8,%%eax\n" #else /* i386 */ - ".byte\t0x0f,0xc7,0xf0\n\t" /* rdrand %eax */ + "rdrand\t%%eax\n\t" "jnc\t1f\n\t" "movl\t%%eax,%1\n\t" "movl\t$4,%%eax\n" |
