CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/04/16 08:28:07
Modified files:
sys/arch/amd64/amd64: lock_machdep.c
sys/arch/i386/i386: lock_machdep.c
Log message:
Replace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h>
to make the code more similar to sparc64's.
OK mpi@, guenther@, kettenis@
