diff options
author | Michael Bergknoff <Michael.Bergknoff@Sun.COM> | 2009-06-02 07:45:16 -0700 |
---|---|---|
committer | Michael Bergknoff <Michael.Bergknoff@Sun.COM> | 2009-06-02 07:45:16 -0700 |
commit | c69cf0c1d2b8a9307b7c87611cff37011309d6e2 (patch) | |
tree | d1f02782bbbf7c3433daceefbc167e716b9d8986 /usr/src/cmd | |
parent | 1f03f0496b37f42bc76df041144b1cf7e47fcda4 (diff) | |
download | illumos-gate-c69cf0c1d2b8a9307b7c87611cff37011309d6e2.tar.gz |
6817989 prtdiag fails to show vcpu state after DR
Diffstat (limited to 'usr/src/cmd')
-rw-r--r-- | usr/src/cmd/picl/plugins/sun4v/mdesc/mdescplugin.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/cmd/picl/plugins/sun4v/mdesc/mdescplugin.c b/usr/src/cmd/picl/plugins/sun4v/mdesc/mdescplugin.c index 912b2b0406..fa3e985b00 100644 --- a/usr/src/cmd/picl/plugins/sun4v/mdesc/mdescplugin.c +++ b/usr/src/cmd/picl/plugins/sun4v/mdesc/mdescplugin.c @@ -20,12 +20,10 @@ */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * The MDESC picl plugin serves 2 different functionalities. * --The first is to look up certain CPU properties in the MDESC an to add @@ -47,6 +45,7 @@ mde_cookie_t rootnode; void mdescplugin_init(void); void mdescplugin_fini(void); +static void signal_devtree(void); extern int add_cpu_prop(picl_nodehdl_t node, void *args); extern int disk_discovery(void); @@ -150,6 +149,11 @@ dr_handler(const char *ename, const void *earg, size_t size, void *cookie) mdesc_devfini(mdp); nvlist_free(nvlp); + + /* + * Signal the devtree plugin to add more cpu properties. + */ + signal_devtree(); } /* |