From af1da5d88749a7acca42afebc5b3ca9ec806c095 Mon Sep 17 00:00:00 2001 From: Jason King Date: Mon, 16 Jul 2018 18:37:54 +0000 Subject: 9760 mp_startup_common races itself Reviewed by: Robert Mustacchi Reviewed by: Patrick Mooney Reviewed by: Andy Fiddaman Reviewed by: Yuri Pankov Reviewed by: Toomas Some Approved by: Dan McDonald --- usr/src/uts/i86pc/os/mp_startup.c | 4 ++-- 1 file 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", -- cgit v1.2.3