diff options
Diffstat (limited to 'sys/arch/sparc64/include/lock.h')
-rw-r--r-- | sys/arch/sparc64/include/lock.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/lock.h b/sys/arch/sparc64/include/lock.h index ac39aefdfa5..a34bb3d7be3 100644 --- a/sys/arch/sparc64/include/lock.h +++ b/sys/arch/sparc64/include/lock.h @@ -1,12 +1,8 @@ -/* $OpenBSD: lock.h,v 1.9 2014/01/30 00:51:13 dlg Exp $ */ +/* $OpenBSD: lock.h,v 1.10 2015/02/11 00:14:11 dlg Exp $ */ /* public domain */ #ifndef _MACHINE_LOCK_H_ #define _MACHINE_LOCK_H_ -#include <sys/atomic.h> - -#define rw_cas(p, o, n) (atomic_cas_ulong(p, o, n) != o) - #endif /* _MACHINE_LOCK_H_ */ |