summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hwf-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwf-x86.c b/src/hwf-x86.c
index baef2df0..399952c4 100644
--- a/src/hwf-x86.c
+++ b/src/hwf-x86.c
@@ -81,7 +81,7 @@ get_cpuid(unsigned int in, unsigned int *eax, unsigned int *ebx,
"cpuid\n\t"
"movl %%ebx, %1\n\t"
"popl %%ebx\n\t" /* Restore GOT register. */
- : "=a" (regs[0]), "=r" (regs[1]), "=c" (regs[2]), "=d" (regs[3])
+ : "=a" (regs[0]), "=D" (regs[1]), "=c" (regs[2]), "=d" (regs[3])
: "0" (in), "1" (0), "2" (0), "3" (0)
: "cc"
);