summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorJustin Frank <Justin.Frank@Sun.COM>2009-03-20 13:47:48 -0700
committerJustin Frank <Justin.Frank@Sun.COM>2009-03-20 13:47:48 -0700
commit48556476e6c404d8fb43526118cd4a865a518e26 (patch)
tree5b2f2a3a3e1e4bd38da294e788423e55ed3d2cbb /usr/src/cmd
parentca733e25b47e409c67716131dd8d3c8145f89a02 (diff)
downloadillumos-joyent-48556476e6c404d8fb43526118cd4a865a518e26.tar.gz
6702349 cpu info in picl devtree may be missing or incorrect on x86
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/picl/plugins/common/devtree/picldevtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/picl/plugins/common/devtree/picldevtree.c b/usr/src/cmd/picl/plugins/common/devtree/picldevtree.c
index ea060a4e5e..a71e3ab38b 100644
--- a/usr/src/cmd/picl/plugins/common/devtree/picldevtree.c
+++ b/usr/src/cmd/picl/plugins/common/devtree/picldevtree.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1870,7 +1870,7 @@ get_cpu_portid(picl_nodehdl_t modh, int *id)
return (get_int_propval_by_name(modh, OBP_PROP_CPUID, id));
}
if (strcmp(mach_name, "i86pc") == 0)
- return (get_int_propval_by_name(modh, PICL_PROP_INSTANCE, id));
+ return (get_int_propval_by_name(modh, OBP_REG, id));
return (PICL_FAILURE);
}