From: VMware, Inc <> Date: Mon, 26 Jul 2010 19:08:15 +0000 (-0700) Subject: lib/lock: Intel specific statistics are no longer true X-Git-Tag: 2010.07.25-280253~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78edb75f945446d10206c0bbe30a364765fa5bda;p=thirdparty%2Fopen-vm-tools.git lib/lock: Intel specific statistics are no longer true 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 --- diff --git a/open-vm-tools/lib/include/userlock.h b/open-vm-tools/lib/include/userlock.h index 537e6001a..eb54e6352 100644 --- a/open-vm-tools/lib/include/userlock.h +++ b/open-vm-tools/lib/include/userlock.h @@ -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)