diff options
Diffstat (limited to 'sys-apps/x86info/files/1.12b-pic.patch')
-rw-r--r-- | sys-apps/x86info/files/1.12b-pic.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/x86info/files/1.12b-pic.patch b/sys-apps/x86info/files/1.12b-pic.patch index 2fab551ba426..e89c5456ec55 100644 --- a/sys-apps/x86info/files/1.12b-pic.patch +++ b/sys-apps/x86info/files/1.12b-pic.patch @@ -1,13 +1,13 @@ ---- bench/benchmarks.c.orig 2004-10-13 19:20:11.348776048 -0400 -+++ bench/benchmarks.c 2004-10-13 19:22:16.880692296 -0400 +--- bench/benchmarks.c ++++ bench/benchmarks.c @@ -14,7 +14,10 @@ return; TIME(asm volatile("int $0x80" :"=a" (ret) :"0" (__NR_getppid)), "int 0x80"); - TIME(asm volatile("cpuid": : :"ax", "dx", "cx", "bx"), "cpuid"); -+ TIME(asm volatile("movl %%edi,%%ebx\n" ++ TIME(asm volatile("movl %%ebx,%%edi\n" + "cpuid\n" -+ "movl %%ebx,%%edi\n" ++ "movl %%edi,%%ebx\n" + : : :"%eax", "%edx", "%ecx", "%edi"), "cpuid"); TIME(asm volatile("addl $1,0(%esp)"), "addl"); |