diff options
author | Jason King <jason.king@joyent.com> | 2018-07-16 18:37:54 +0000 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-08-22 10:59:46 -0400 |
commit | af1da5d88749a7acca42afebc5b3ca9ec806c095 (patch) | |
tree | 4834acd7a9fb874af05220fef4e1ea86ca68ab4e | |
parent | 43f9d55fa4bea101f8b3961606dec0af0b38b2ab (diff) | |
download | illumos-joyent-af1da5d88749a7acca42afebc5b3ca9ec806c095.tar.gz |
9760 mp_startup_common races itself
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Reviewed by: Toomas Some <tsoome@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/i86pc/os/mp_startup.c | 4 |
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 b1100377eb..ea9f8e37d0 100644 --- a/usr/src/uts/i86pc/os/mp_startup.c +++ b/usr/src/uts/i86pc/os/mp_startup.c @@ -1899,6 +1899,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 @@ -1906,8 +1908,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", |