This change brings a few dissidents back in line with the rest of the code.
Also deleted Uninterruptible_FetchAndAdd64():
o It was unused.
o It provided the same functionality as Uninterruptible_ReadAdd64(), with a worse name and implementation.
{
return (Atomic_uint32 *)var;
}
+#define Atomic_VolatileToAtomic32 Atomic_VolatileToAtomic
+
/* Convert a volatile uint64 to Atomic_uint64. */
static INLINE Atomic_uint64 *
return equal;
#endif /* VM_X86_ANY */
#else // defined __GNUC__
- return (Atomic_ReadIfEqualWrite(var, oldVal, newVal) == oldVal);
+ return Atomic_ReadIfEqualWrite(var, oldVal, newVal) == oldVal;
#endif // !defined __GNUC__
}