summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason King <jason.king@joyent.com>2018-07-16 18:37:54 +0000
committerJason King <jason.king@joyent.com>2018-07-16 18:37:54 +0000
commit1e2f0db0e8a3c7fbc85f273e9db8ad5e2cff6968 (patch)
tree719e884cb1f6fc114eb8cb3946b0cec8bd257419
parent7055f846e07f3417e553e75f8f49eaa859a50278 (diff)
downloadillumos-joyent-OS-7079.tar.gz
OS-7079 mp_startup_common races itselfOS-7079
-rw-r--r--usr/src/uts/i86pc/os/mp_startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/i86pc/os/mp_startup.c b/usr/src/uts/i86pc/os/mp_startup.c
index d7265f63b3..c742e43587 100644
--- a/usr/src/uts/i86pc/os/mp_startup.c
+++ b/usr/src/uts/i86pc/os/mp_startup.c
@@ -1900,6 +1900,8 @@ mp_startup_common(boolean_t boot)
if (boothowto & RB_DEBUG)
kdi_cpu_init();
+ (void) mach_cpu_create_device_node(cp, NULL);
+
/*
* Setting the bit in cpu_ready_set must be the last operation in
* processor initialization; the boot CPU will continue to boot once
@@ -1907,8 +1909,6 @@ mp_startup_common(boolean_t boot)
*/
CPUSET_ATOMIC_ADD(cpu_ready_set, cp->cpu_id);
- (void) mach_cpu_create_device_node(cp, NULL);
-
cmn_err(CE_CONT, "?cpu%d: %s\n", cp->cpu_id, cp->cpu_idstr);
cmn_err(CE_CONT, "?cpu%d: %s\n", cp->cpu_id, cp->cpu_brandstr);
cmn_err(CE_CONT, "?cpu%d initialization complete - online\n",