changeset 10537:54ffdb4f0b39

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>
author Michael Corcoran <Michael.Corcoran@Sun.COM>
date Mon, 14 Sep 2009 22:40:45 -0700
parents 169fc5f31d81
children 5dc30548421c
files usr/src/uts/i86pc/os/mp_machdep.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/i86pc/os/mp_machdep.c	Mon Sep 14 21:48:22 2009 -0700
+++ b/usr/src/uts/i86pc/os/mp_machdep.c	Mon Sep 14 22:40:45 2009 -0700
@@ -1505,7 +1505,7 @@
 	 * 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);