freebsd-ports/sysutils/x86info/files/patch-cpuid_UP.S
Yen-Ming Lee 38ca10bb38 update to 1.12b
Freshmeat blurb:
  Identifies several new CPUS. Additional MSR decoding on various
  CPUs. A few misidentification bugs have been fixed. Completely
  rewritten cachesize determination. Various new cache descriptors
  added. Numerous MHz estimation improvements. AMD K7 powernow
  register/BIOS decoding. Now decodes extended Intel feature flags,
  cpuid brand field, and sSpec on some models. AMD Opteron/Athlon64
  support. VIA Powersaver/Longhaul support. A --bugs option to display
  CPU errata. No longer retries opening /dev/msr if the first open
  fails. Fixes a memory leak in --url.

PR:		55937
Submitted by:	Erik Greenwald <erik@smluc.org>
2003-08-25 01:29:34 +00:00

28 lines
468 B
ArmAsm

--- 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
-
.globl cpuid_UP
- .type cpuid_UP,@function
cpuid_UP:
-
-#else /* BSD or WIN32 */
-
-.globl _cpuid_UP
-
-#ifdef __WIN32__
- .def _cpuid_UP; .scl 2; .type 32; .endef
-#else /* BSD */
- .type _cpuid_UP,@function
-#endif /* __WIN32__ */
-
-_cpuid_UP:
-#endif /* linux */
-
pushl %ebp
movl %esp,%ebp
pushl %edi