+#undef OSAddAtomicLong
+long
+OSAddAtomicLong(long theAmount, volatile long *address)
+{
+#if __LP64__
+#error Unimplemented
+#else
+ return (long)OSAddAtomic((SInt32)theAmount, address);
+#endif
+}
+
+/* Implemented as an assembly alias for i386 */
+#undef OSCompareAndSwapPtr
+Boolean OSCompareAndSwapPtr(void *oldValue, void *newValue,
+ void * volatile *address)
+{
+#if __LP64__
+ return OSCompareAndSwap64((UInt64)oldValue, (UInt64)newValue,
+ (volatile UInt64 *)address);
+#else
+ return OSCompareAndSwap((UInt32)oldValue, (UInt32)newValue,
+ (volatile UInt32 *)address);
+#endif
+}
+#endif
+
+#undef OSIncrementAtomic
+SInt32 OSIncrementAtomic(volatile SInt32 * value)