Marcus Meissner 2015-02-21 23:02:24 +00:00 committed by Git OBS Bridge
parent c8f2e33f57
commit 4e71b2b789

View File

@ -7,10 +7,10 @@ Index: biosdevname-0.5.0/src/bios_dev_name.c
{
asm volatile (
- "xor %%ebx, %%ebx; cpuid"
+ "pushl %%ebx\n"
+ "push %%ebx\n"
+ "xor %%ebx, %%ebx\n"
+ "cpuid\n"
+ "popl %%ebx\n"
+ "pop %%ebx\n"
: "=a" (eax), "=c" (ecx)
: "a" (eax)
- : "%ebx", "%edx");