diff options
author | John Baldwin <jhb@FreeBSD.org> | 2008-08-27 17:14:22 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2008-08-27 17:14:22 +0000 |
commit | c28fe84f402852d09dd5db208e9f2a0241bd3cfd (patch) | |
tree | 13c27d477e40ac5066a6d80b1af1ff1814264056 | |
parent | fca86920d5e5740d58635f908a44e31b130d8f06 (diff) |
Notes
-rw-r--r-- | sys/kern/subr_smp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 375aed7eb4ab..91ed51bc863c 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -290,14 +290,6 @@ restart_cpus(cpumask_t map) return 1; } -void -smp_no_rendevous_barrier(void *dummy) -{ -#ifdef SMP - KASSERT((!smp_started),("smp_no_rendevous called and smp is started")); -#endif -} - /* * All-CPU rendezvous. CPUs are signalled, all execute the setup function * (if specified), rendezvous, execute the action function (if specified), @@ -460,3 +452,11 @@ smp_rendezvous(void (*setup_func)(void *), teardown_func(arg); } #endif /* SMP */ + +void +smp_no_rendevous_barrier(void *dummy) +{ +#ifdef SMP + KASSERT((!smp_started),("smp_no_rendevous called and smp is started")); +#endif +} |