-/* $OpenBSD: machdep.c,v 1.97 2021/07/12 09:29:18 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.98 2021/07/12 09:32:37 visa Exp $ */
/*
* Copyright (c) 2009, 2010, 2014 Miodrag Vallat.
mips64_ipi_init();
+ ci->ci_flags |= CPUF_RUNNING;
+ membar_sync();
+
ncpus++;
cpuset_add(&cpus_running, ci);
-/* $OpenBSD: machdep.c,v 1.132 2021/07/12 09:29:18 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.133 2021/07/12 09:32:37 visa Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
octeon_intr_init();
mips64_ipi_init();
+ ci->ci_flags |= CPUF_RUNNING;
+ membar_sync();
+
ncpus++;
cpuset_add(&cpus_running, ci);