]> git.sesse.net Git - vlc/commitdiff
* src/misc/cpu.c: oops.
authorSam Hocevar <sam@videolan.org>
Sat, 1 Oct 2005 23:32:39 +0000 (23:32 +0000)
committerSam Hocevar <sam@videolan.org>
Sat, 1 Oct 2005 23:32:39 +0000 (23:32 +0000)
src/misc/cpu.c

index 0c0c70005e9adc18570c49b47db78bb176707345..8dada484e16dedd34db30601f1c7952c89d13e8f 100644 (file)
@@ -89,7 +89,7 @@ uint32_t CPUCapabilities( void )
             asm volatile ( "cpuid\n\t"         \
                            "movl %%ebx,%1\n\t" \
                          : "=a" ( i_eax ),     \
-                           "=r" ( i_ebx ),     \
+                           "=b" ( i_ebx ),     \
                            "=c" ( i_ecx ),     \
                            "=d" ( i_edx )      \
                          : "a"  ( reg )        \