From: Oliver Kurth Date: Wed, 27 Feb 2019 22:39:55 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0230f00147774547cd72e62a805db511234bbf8e;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index 3451bf186..fea26acd6 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -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; \