]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Wed, 27 Feb 2019 22:39:55 +0000 (14:39 -0800)
committerOliver Kurth <okurth@vmware.com>
Wed, 27 Feb 2019 22:39:55 +0000 (14:39 -0800)
open-vm-tools/lib/include/vm_basic_defs.h

index 3451bf186ee2b06ba2a56a48ced4676b363965b4..fea26acd6d83a0fa61cde1a4ed8dc1b708753706 100644 (file)
@@ -759,7 +759,7 @@ typedef int pid_t;
 /* This is not intended to be thread-safe. */
 #define DO_ONCE(code)                                                   \
    do {                                                                 \
-      static Bool _doOnceDone = FALSE;                                  \
+      static VMM_ONLY(PERVCPU) Bool _doOnceDone = FALSE;                \
       if (UNLIKELY(!_doOnceDone)) {                                     \
          _doOnceDone = TRUE;                                            \
          code;                                                          \