Kill SPINLOCK_SPIN_HOOK, use CPU_BUSY_CYCLE() instead.
authormpi <mpi@openbsd.org>
Mon, 29 May 2017 14:19:49 +0000 (14:19 +0000)
committermpi <mpi@openbsd.org>
Mon, 29 May 2017 14:19:49 +0000 (14:19 +0000)
commit275e6a2f73daf87c4fca2936430979b529d958cc
tree54f1d2bf06284e8c6a6eaf8f3f31dca1b6fdecfa
parenta46fa70d74df3109114a9e9a6f280254a59fdf29
Kill SPINLOCK_SPIN_HOOK, use CPU_BUSY_CYCLE() instead.

ok visa@, kettenis@
26 files changed:
sys/arch/alpha/alpha/lock_machdep.c
sys/arch/alpha/alpha/machdep.c
sys/arch/alpha/alpha/mutex.c
sys/arch/alpha/include/cpu.h
sys/arch/alpha/include/lock.h
sys/arch/amd64/amd64/fpu.c
sys/arch/amd64/amd64/lapic.c
sys/arch/amd64/amd64/lock_machdep.c
sys/arch/amd64/amd64/pmap.c
sys/arch/amd64/include/lock.h
sys/arch/hppa/hppa/lock_machdep.c
sys/arch/i386/i386/lock_machdep.c
sys/arch/i386/i386/pmap.c
sys/arch/i386/include/lock.h
sys/arch/i386/isa/npx.c
sys/arch/luna88k/luna88k/machdep.c
sys/arch/m88k/m88k/m8820x_machdep.c
sys/arch/m88k/m88k/m88k_machdep.c
sys/arch/m88k/m88k/mplock.c
sys/arch/mips64/mips64/lock_machdep.c
sys/arch/powerpc/include/lock.h
sys/arch/powerpc/powerpc/lock_machdep.c
sys/arch/powerpc/powerpc/mutex.c
sys/arch/sparc64/include/cpu.h
sys/arch/sparc64/include/lock.h
sys/arch/sparc64/sparc64/lock_machdep.c