diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-13 23:37:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-13 23:37:37 +0000 |
commit | 18a66df99544b2aa84b299fb08a319320256b6d2 (patch) | |
tree | 0726dd6a68667426e34509cda3087a63733fd992 /sys-apps/x86info | |
parent | Added to ~ppc-macos. (diff) | |
download | historical-18a66df99544b2aa84b299fb08a319320256b6d2.tar.gz historical-18a66df99544b2aa84b299fb08a319320256b6d2.tar.bz2 historical-18a66df99544b2aa84b299fb08a319320256b6d2.zip |
pic patch
Diffstat (limited to 'sys-apps/x86info')
-rw-r--r-- | sys-apps/x86info/Manifest | 7 | ||||
-rw-r--r-- | sys-apps/x86info/files/1.12b-pic.patch | 14 |
2 files changed, 18 insertions, 3 deletions
diff --git a/sys-apps/x86info/Manifest b/sys-apps/x86info/Manifest index cfa6fec18f3c..20c15befcee7 100644 --- a/sys-apps/x86info/Manifest +++ b/sys-apps/x86info/Manifest @@ -8,10 +8,11 @@ MD5 d5090cdf4c4046b43fc19a32fe832d16 x86info-1.12b.ebuild 1220 MD5 14514d85680a44ebe1a0625f76262b3a files/digest-x86info-1.11 60 MD5 1759a81bcf65ea2266520c18b934df09 files/digest-x86info-1.12b 61 MD5 e622e47087f8556df73aae8e3c4dd896 files/x86info-modules.conf-rc 330 +MD5 8a96e3de09ecff97079a248d217c407f files/1.12b-pic.patch 594 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBbbwUHTu7gpaalycRAg82AKCCA/LIJJD735wFeFMUoBJ4FKoehQCeK+W0 -5FDuYHjh6G6pMQhLZJrqi7M= -=dNfC +iD8DBQFBbbxPHTu7gpaalycRAqIyAKCoJNuuT7nV4mlRYrViLOfmlwcT8gCgjzi/ +SdkfGYxLSuTxwzpMlD96YkQ= +=pbvb -----END PGP SIGNATURE----- diff --git a/sys-apps/x86info/files/1.12b-pic.patch b/sys-apps/x86info/files/1.12b-pic.patch new file mode 100644 index 000000000000..2fab551ba426 --- /dev/null +++ b/sys-apps/x86info/files/1.12b-pic.patch @@ -0,0 +1,14 @@ +--- bench/benchmarks.c.orig 2004-10-13 19:20:11.348776048 -0400 ++++ bench/benchmarks.c 2004-10-13 19:22:16.880692296 -0400 +@@ -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" ++ "cpuid\n" ++ "movl %%ebx,%%edi\n" ++ : : :"%eax", "%edx", "%ecx", "%edi"), "cpuid"); + + TIME(asm volatile("addl $1,0(%esp)"), "addl"); + TIME(asm volatile("lock ; addl $1,0(%esp)"), "locked add"); |