From: VMware, Inc <> Date: Wed, 24 Feb 2010 22:15:46 +0000 (-0800) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2010.02.23-236320~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8789d2a8629fd31eb23b015c3029fa1d0b4560e4;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/vcpuid.h b/open-vm-tools/lib/include/vcpuid.h index 71c805e82..cb264fe0d 100644 --- a/open-vm-tools/lib/include/vcpuid.h +++ b/open-vm-tools/lib/include/vcpuid.h @@ -45,7 +45,6 @@ typedef uint32 Vcpuid; // VCPU number #define BOOT_VCPU_ID 0 #define IS_BOOT_VCPUID(vcpuid) ((vcpuid) == BOOT_VCPU_ID) -#define IS_BOOT_VCPU() IS_BOOT_VCPUID(CurVcpuid()) #define MAX_VCPUS 32 @@ -53,6 +52,7 @@ typedef uint32 Vcpuid; // VCPU number /* In VMM, CurVcpuid() is available everywhere. */ extern const Vcpuid curVcpuid; #define CurVcpuid() (curVcpuid) +#define IS_BOOT_VCPU() IS_BOOT_VCPUID(CurVcpuid()) #endif #endif // ifndef _VCPUID_H_