summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorMichael Corcoran <Michael.Corcoran@Sun.COM>2009-09-14 22:40:45 -0700
committerMichael Corcoran <Michael.Corcoran@Sun.COM>2009-09-14 22:40:45 -0700
commit9209759ad97c75f1bd1216cff1b2311e49ecc651 (patch)
tree1bd2c6e2fec3e1434a63e2b3de2646b977894e57 /usr/src
parentdee2281d96b2786b423f8d2d5c98e49e059f657a (diff)
downloadillumos-joyent-9209759ad97c75f1bd1216cff1b2311e49ecc651.tar.gz
6879838 Dom0, v65x panic snv_123 mp->ind_instance != dp->ind_instance, common/os/instance.c, line: 1261
Contributed by Gerry Liu <jiang.liu@intel.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/i86pc/os/mp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/mp_machdep.c b/usr/src/uts/i86pc/os/mp_machdep.c
index 35259fbc2b..7a454e1921 100644
--- a/usr/src/uts/i86pc/os/mp_machdep.c
+++ b/usr/src/uts/i86pc/os/mp_machdep.c
@@ -1505,7 +1505,7 @@ mach_cpu_create_devinfo(cpu_t *cp, dev_info_t **dipp)
* create a child node for cpu identified as 'cpu_id'
*/
ndi_devi_enter(cpu_nex_devi, &circ);
- dip = ddi_add_child(cpu_nex_devi, "cpu", DEVI_SID_NODEID, cp->cpu_id);
+ dip = ddi_add_child(cpu_nex_devi, "cpu", DEVI_SID_NODEID, -1);
if (dip == NULL) {
cmn_err(CE_CONT,
"?failed to create device node for cpu%d.\n", cp->cpu_id);