From: VMware, Inc <> Date: Tue, 24 Aug 2010 18:28:31 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2010.08.24-292196~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93f2901deb2fe6478ff63c3bff9c624f679cab5e;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/x86cpuid.h b/open-vm-tools/lib/include/x86cpuid.h index 78b9b73a2..41298bcd3 100644 --- a/open-vm-tools/lib/include/x86cpuid.h +++ b/open-vm-tools/lib/include/x86cpuid.h @@ -1036,9 +1036,8 @@ CPUID_AMDCoresPerPackage(uint32 v) /* %ecx from CPUID with %eax=0x80000008. */ * Hypervisor CPUID space is 0x400000XX. */ static INLINE Bool -CPUID_IsHypervisorLevel(uint32 level, uint32 *offset) +CPUID_IsHypervisorLevel(uint32 level) { - *offset = level & 0xff; return (level & 0xffffff00) == 0x40000000; }