]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Memory barriers: ST_LD_MEM_BARRIER -> SMP_W_BARRIER_R
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:34 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:34 +0000 (11:23 -0700)
Remove the now unused old macro name.

open-vm-tools/lib/include/vm_basic_asm_x86_common.h

index 2b02b70162a97e52434e2ae39282cb114e57e012..c743d591dc26528124ad5137b1fbc81440b059af 100644 (file)
@@ -413,7 +413,7 @@ SMP_W_BARRIER_R(void)
 #elif defined _MSC_VER
    _InterlockedXor(&temp, 1);
 #else
-#error ST_LD_MEM_BARRIER not defined for this compiler
+#error SMP_W_BARRIER_R not defined for this compiler
 #endif
    COMPILER_MEM_BARRIER();
 }
@@ -460,7 +460,6 @@ SMP_W_BARRIER_R(void)
 #define LD_LD_MEM_BARRIER()      SMP_R_BARRIER_R()
 #define LD_ST_MEM_BARRIER()      SMP_R_BARRIER_W()
 #define LD_LDST_MEM_BARRIER()    SMP_R_BARRIER_RW()
-#define ST_LD_MEM_BARRIER()      SMP_W_BARRIER_R()
 
 
 #endif // _VM_BASIC_ASM_X86_COMMON_H_