diff --git a/biosdevname-pic.patch b/biosdevname-pic.patch index 7b964a4..64fa9ca 100644 --- a/biosdevname-pic.patch +++ b/biosdevname-pic.patch @@ -8,14 +8,14 @@ Index: biosdevname-0.6.1/src/bios_dev_name.c asm volatile ( - "xor %%ebx, %%ebx; cpuid" +#ifdef __x86_64__ -+ "pushl %%rbx\n" ++ "push %%rbx\n" +#else + "push %%ebx\n" +#endif + "xor %%ebx, %%ebx\n" + "cpuid\n" +#ifdef __x86_64__ -+ "popl %%rbx\n" ++ "pop %%rbx\n" +#else + "pop %%ebx\n" +#endif