]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
lib/lock: Intel specific statistics are no longer true
authorVMware, Inc <>
Mon, 26 Jul 2010 19:08:15 +0000 (12:08 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 26 Jul 2010 19:08:15 +0000 (12:08 -0700)
Originally the timing routines used by lib/lock were RDTSC based,
making them Intel specific. Once nanosecond clocks were available
from lib/misc (i.e. Hostinfo_SystemTimerNS) the RDTSC and Intel
dependencies were eliminated.

This is trivial... remove the ifdef preventing statistics unless
they were Intel architecture.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/userlock.h

index 537e6001ac30d1a51948b1aa8ba033953d396c27..eb54e6352dcbb3b77eb0edc3fb6df968154d919d 100644 (file)
@@ -186,11 +186,9 @@ MXUserRecLock *MXUser_InitFromMXRec(const char *name,
                                     MX_Rank rank,
                                     Bool isBelowBull);
 
-#if defined(__i386__) || defined(__x86_64__)
 #if defined(VMX86_STATS) 
 #define MXUSER_STATS  // stats "only inside the VMX" when requested
 #endif
-#endif  // X86 and X86-64
 #endif
 
 #if defined(VMX86_DEBUG)