summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-01-30 12:27:11 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-01-30 12:27:11 +0000
commit98961b0f065e40e050251c81a592b8d8fe92cd9c (patch)
treebaf1b206b6d08aeae7f0a95a1827a2379a3f575c /sys/arch
parent2cf4a7ca3899b4b53f11f21a55de2dc678ae27c5 (diff)
Undef def_atomic_op_nv instead of def_atomic_opf.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/atomic.h b/sys/arch/sparc64/include/atomic.h
index 10b347a7fcb..47c81401708 100644
--- a/sys/arch/sparc64/include/atomic.h
+++ b/sys/arch/sparc64/include/atomic.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atomic.h,v 1.8 2014/01/30 00:51:13 dlg Exp $ */
+/* $OpenBSD: atomic.h,v 1.9 2014/01/30 12:27:10 kettenis Exp $ */
/*
* Copyright (c) 2007 Artur Grabowski <art@openbsd.org>
*
@@ -98,7 +98,7 @@ def_atomic_op_nv(_atomic_add_int_nv, unsigned int, atomic_cas_uint, +)
def_atomic_op_nv(_atomic_add_long_nv, unsigned long, atomic_cas_ulong, +)
def_atomic_op_nv(_atomic_sub_int_nv, unsigned int, atomic_cas_uint, -)
def_atomic_op_nv(_atomic_sub_long_nv, unsigned long, atomic_cas_ulong, -)
-#undef def_atomic_opf
+#undef def_atomic_op_nv
#define atomic_add_int_nv(_p, _v) _atomic_add_int_nv(_p, _v)
#define atomic_add_long_nv(_p, _v) _atomic_add_long_nv(_p, _v)