diff options
-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 +} |