]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected typo in cpuid for 386.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 12 Sep 2011 14:26:39 +0000 (16:26 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 12 Sep 2011 14:26:39 +0000 (16:26 +0200)
lib/accelerated/x86.h

index df411dfa39e314d33832d1681b647c1c3e69b6e0..973624bdc9a1c2918a0d175bb8c04a60ab860ad2 100644 (file)
@@ -22,7 +22,7 @@ inline static void g_cpuid(uint32_t func, unsigned int *ax, unsigned int *bx, un
                   "cpuid\n" 
                   "movl %%ebx, %1\n"
                   "popl %%ebx\n"
-                  :"=a" (*ax), "=r"(*bx), "=c"(*cx), "=d"(*cx)
+                  :"=a" (*ax), "=r"(*bx), "=c"(*cx), "=d"(*dx)
                   :"a"(func)
                   :"cc");
 }