Move common mutex implementations to a MI place.
authormpi <mpi@openbsd.org>
Thu, 25 Jan 2018 15:06:29 +0000 (15:06 +0000)
committermpi <mpi@openbsd.org>
Thu, 25 Jan 2018 15:06:29 +0000 (15:06 +0000)
commit710c2d98ef6b48aed52cf1712826535b248055bf
tree65df3edc5446c772f3204db441bd193aa7cf4838
parentc05fa6e051dd392d2aa073c1b05cc39dc361ab57
Move common mutex implementations to a MI place.

Archs not yet converted can to the jump by defining __USE_MI_MUTEX.

ok visa@
14 files changed:
sys/arch/alpha/conf/files.alpha
sys/arch/alpha/include/mutex.h
sys/arch/amd64/conf/files.amd64
sys/arch/amd64/include/mutex.h
sys/arch/arm64/conf/files.arm64
sys/arch/arm64/include/mutex.h
sys/arch/i386/conf/files.i386
sys/arch/i386/include/mutex.h
sys/arch/mips64/conf/files.mips64
sys/arch/mips64/include/mutex.h
sys/arch/powerpc/conf/files.powerpc
sys/arch/powerpc/include/mutex.h
sys/kern/kern_lock.c
sys/sys/mutex.h