summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/include/lock.h')
-rw-r--r--sys/arch/sparc64/include/lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/lock.h b/sys/arch/sparc64/include/lock.h
index 7c8d35490a4..a648575a888 100644
--- a/sys/arch/sparc64/include/lock.h
+++ b/sys/arch/sparc64/include/lock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock.h,v 1.3 2008/01/01 23:37:16 miod Exp $ */
+/* $OpenBSD: lock.h,v 1.4 2008/05/02 19:52:27 miod Exp $ */
/* public domain */
@@ -51,6 +51,6 @@ __cpu_simple_unlock(__cpu_simple_lock_t *l)
*l = __SIMPLELOCK_UNLOCKED;
}
-#define rw_cas_sparc64 (sparc64_casx(p, o, n) != o)
+#define rw_cas(p, o, n) (sparc64_casx(p, o, n) != o)
#endif /* _SPARC64_LOCK_H_ */