summaryrefslogtreecommitdiffstats
path: root/sysutils/x86info/files/patch-cpuid_UP.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/x86info/files/patch-cpuid_UP.S')
-rw-r--r--sysutils/x86info/files/patch-cpuid_UP.S24
1 files changed, 12 insertions, 12 deletions
diff --git a/sysutils/x86info/files/patch-cpuid_UP.S b/sysutils/x86info/files/patch-cpuid_UP.S
index 3dd2f46..e8e5c45 100644
--- a/sysutils/x86info/files/patch-cpuid_UP.S
+++ b/sysutils/x86info/files/patch-cpuid_UP.S
@@ -1,17 +1,13 @@
---- cpuid_UP.S.orig Tue Dec 11 11:01:41 2001
-+++ cpuid_UP.S Tue Dec 18 13:42:43 2001
-@@ -1,21 +1,14 @@
+--- cpuid_UP.S.orig Tue Nov 26 20:20:07 2002
++++ cpuid_UP.S Sun Aug 24 16:12:12 2003
+@@ -1,25 +1,8 @@
.align 4
.text
-#ifdef linux
-
-+#ifdef __WIN32__
-+.globl _cpuid_UP
-+ .def _cpuid_UP; .scl 2; .type 32; .endef
-+#else /* a sane system */
+-
.globl cpuid_UP
- .type cpuid_UP,@function
+- .type cpuid_UP,@function
cpuid_UP:
-
-#else /* BSD or WIN32 */
@@ -23,6 +19,10 @@
-#else /* BSD */
- .type _cpuid_UP,@function
-#endif /* __WIN32__ */
-
- _cpuid_UP:
- #endif /* linux */
+-
+-_cpuid_UP:
+-#endif /* linux */
+-
+ pushl %ebp
+ movl %esp,%ebp
+ pushl %edi
OpenPOWER on IntegriCloud