Put atomic_cmpset_int() into central place. This function was defined and
commitfb5f8cb16c947c9609a8ae49fa5a9545fd05d1c1
authorsephe <sephe>
Tue, 16 May 2006 12:34:15 +0000 (16 12:34 +0000)
committersephe <sephe>
Tue, 16 May 2006 12:34:15 +0000 (16 12:34 +0000)
tree9da592cf0f3f2d7b9083d5ca295cfa0dbefa8075
parentcd5bbce6dbcbbf6e6d69b7939c89a26c2ff29720
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