Put atomic_cmpset_int() into central place. This function was defined and
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 16 May 2006 12:34:15 +0000 (12:34 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 16 May 2006 12:34:15 +0000 (12:34 +0000)
commit3a4e0cd79c16c3ac6545c61e37c2713aac1a54b5
tree5c12bb7ed264b5940a318ad9a8d2b58ce2d92148
parentffd7dcebc69679ff71a0dbe430e2e2bb1d4d7d2a
Put atomic_cmpset_int() into central place.  This function was defined and
used in many places.

Reviewed-by: dillon
OK: davidxu
lib/libthread_xu/arch/i386/include/pthread_md.h
sys/cpu/i386/include/atomic.h
sys/dev/drm/drm_os_freebsd.h
sys/i386/include/atomic.h