]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common header file not applicable to open-vm-tools.
authorKruti <kpendharkar@vmware.com>
Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)
committerKruti <kpendharkar@vmware.com>
Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)
open-vm-tools/lib/include/vm_atomic.h

index f3bbb8437265ca11ef0f7622de9415bfc5c608d2..db9d2cdd8566c477180538f7080048b7e31ccb3a 100644 (file)
@@ -188,26 +188,11 @@ typedef ALIGNED(16) struct Atomic_uint128 {
  * Whether GCC flags output operands are supported.
  * If building with GCC 6+ on x86, and 10+ on arm, flags output is supported.
  * Some pieces are still built with GCC 4, which doesn't support flag outputs.
- * Also support was added for x86 before ARM / AARCH64.
  */
 #ifdef __GCC_ASM_FLAG_OUTPUTS__
-/*
- * The above check should be sufficient to see whether the current compiler
- * supports GCC style assembly flag outputs, but just in case print a debug
- * message if it looks like we're being compiled with an older version of
- * GCC before assembly flag outputs was added.
- */
-#if defined(VM_X86_ANY) && __GNUC__ < 6
- #pragma message "GCC < 6 claims to support x86 asm flag outputs"
-#elif defined(VM_ARM_ANY) && __GNUC__ < 10
- #pragma message "GCC < 10 claims to support ARM asm flag outputs"
-#endif
-
 #define IF_ASM_FLAG_OUTPUT(supportedValue, fallbackValue) supportedValue
-
 #else /* older gcc (or not gcc), flags output is not supported */
 #define IF_ASM_FLAG_OUTPUT(supportedValue, fallbackValue) fallbackValue
-
 #endif