diff options
author | obrien <obrien@FreeBSD.org> | 2004-08-28 00:49:55 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-08-28 00:49:55 +0000 |
commit | 0fe47008f64288f55c942ef9a92d2c7b57dc52e9 (patch) | |
tree | ec20bdbd13037c6dbb75b6ba7e805d8466fdfb40 /sys/kern/subr_smp.c | |
parent | 587d1d74f30e955065db313171901efe9d6cafec (diff) | |
download | FreeBSD-src-0fe47008f64288f55c942ef9a92d2c7b57dc52e9.zip FreeBSD-src-0fe47008f64288f55c942ef9a92d2c7b57dc52e9.tar.gz |
s/smp_rv_mtx/smp_ipi_mtx/g
Requested by: jhb
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 945ef6f..f1b8499 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -109,7 +109,7 @@ static volatile int smp_rv_waiters[2]; * functions trigger at once and cause multiple CPUs to busywait with * interrupts disabled. */ -struct mtx smp_rv_mtx; +struct mtx smp_ipi_mtx; /* * Let the MD SMP code initialize mp_maxid very early if it can. @@ -135,7 +135,7 @@ mp_start(void *dummy) return; } - mtx_init(&smp_rv_mtx, "smp rendezvous", NULL, MTX_SPIN); + mtx_init(&smp_ipi_mtx, "smp rendezvous", NULL, MTX_SPIN); cpu_mp_start(); printf("FreeBSD/SMP: Multiprocessor System Detected: %d CPUs\n", mp_ncpus); @@ -331,7 +331,7 @@ smp_rendezvous(void (* setup_func)(void *), } /* obtain rendezvous lock */ - mtx_lock_spin(&smp_rv_mtx); + mtx_lock_spin(&smp_ipi_mtx); /* set static function pointers */ smp_rv_setup_func = setup_func; @@ -348,7 +348,7 @@ smp_rendezvous(void (* setup_func)(void *), smp_rendezvous_action(); /* release lock */ - mtx_unlock_spin(&smp_rv_mtx); + mtx_unlock_spin(&smp_ipi_mtx); } #else /* !SMP */ |