1 #ifndef _FBSD_COMPAT_MACHINE_ATOMIC_H_ 2 #define _FBSD_COMPAT_MACHINE_ATOMIC_H_ 3 4 #include <KernelExport.h> 5 6 #define atomic_add_int(ptr, value) \ 7 atomic_add((int32 *)ptr, value) 8 9 #define atomic_subtract_int(ptr, value) \ 10 atomic_add((int32 *)ptr, -value) 11 12 #endif 13