Move the increment of uvmexp.softs back to the caller of mi_ast():
authorguenther <guenther@openbsd.org>
Sun, 11 May 2014 00:12:43 +0000 (00:12 +0000)
committerguenther <guenther@openbsd.org>
Sun, 11 May 2014 00:12:43 +0000 (00:12 +0000)
commit622fac8a265e8758103895fd0ab4b64d08e4249e
treea7ec6860861e8342e81f5167565fa38772a4cd72
parent105b5eb797e0f8b2d4daa59ed71713371b2792a3
Move the increment of uvmexp.softs back to the caller of mi_ast():
it needs to be done atomicly on some MP archs and we don't have
atomic_add_int() everywhere yet.  Also, mi_ast() was meant to be inline.

noted by miod@
15 files changed:
sys/arch/alpha/alpha/trap.c
sys/arch/amd64/amd64/trap.c
sys/arch/arm/arm/ast.c
sys/arch/hppa/hppa/trap.c
sys/arch/hppa64/hppa64/trap.c
sys/arch/i386/i386/trap.c
sys/arch/m88k/m88k/trap.c
sys/arch/mips64/mips64/trap.c
sys/arch/powerpc/powerpc/trap.c
sys/arch/sh/sh/trap.c
sys/arch/solbourne/solbourne/trap.c
sys/arch/sparc/sparc/trap.c
sys/arch/sparc64/sparc64/trap.c
sys/arch/vax/vax/trap.c
sys/sys/syscall_mi.h