diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-09-24 06:34:38 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-09-24 06:34:38 +0000 |
commit | 6f4fbbbb9f82c0ebc9553d0a2d8f63ba2eca1931 (patch) | |
tree | 40fcbad70f0da00923f794786faf1144a357acc1 /sys/arch | |
parent | b61496d5a163a6f31cf9c7ae9c072472855eb489 (diff) |
jmatthew@ points out atomic_swap_foo takes two arguments, not three.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/include/atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/atomic.h b/sys/arch/hppa/include/atomic.h index 3545d4689c7..a266fafeb0d 100644 --- a/sys/arch/hppa/include/atomic.h +++ b/sys/arch/hppa/include/atomic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atomic.h,v 1.8 2014/09/22 12:12:23 dlg Exp $ */ +/* $OpenBSD: atomic.h,v 1.9 2014/09/24 06:34:37 dlg Exp $ */ /* Public Domain */ @@ -152,7 +152,7 @@ _atomic_swap_ulong(volatile unsigned long *uip, unsigned long n) return (rv); } -#define atomic_swap_ulong(_p, _o, _n) _atomic_swap_ulong((_p), (_o), (_n)) +#define atomic_swap_ulong(_p, _n) _atomic_swap_ulong((_p), (_n)) static inline void * _atomic_swap_ptr(volatile void *uip, void *n) @@ -168,7 +168,7 @@ _atomic_swap_ptr(volatile void *uip, void *n) return (rv); } -#define atomic_swap_ptr(_p, _o, _n) _atomic_swap_ptr((_p), (_o), (_n)) +#define atomic_swap_ptr(_p, _n) _atomic_swap_ptr((_p), (_n)) static __inline unsigned int _atomic_add_int_nv(volatile unsigned int *uip, unsigned int v) |