diff options
| author | mh27603 <none@none> | 2007-07-24 11:50:08 -0700 |
|---|---|---|
| committer | mh27603 <none@none> | 2007-07-24 11:50:08 -0700 |
| commit | cf74e62b28857cc7cf88dd0a34d34df9a7e26fe8 (patch) | |
| tree | f9f53144f8ef814afb586a6b001c94b2d9c24a77 /usr/src/uts/common/io/cpudrv.c | |
| parent | ce5e3b86bb2a46362e2da27fa1d8963b79e284b2 (diff) | |
| download | illumos-joyent-cf74e62b28857cc7cf88dd0a34d34df9a7e26fe8.tar.gz | |
6584239 CPU power management additions to processor_info_t potentially break processor_info() consumers.
Diffstat (limited to 'usr/src/uts/common/io/cpudrv.c')
| -rw-r--r-- | usr/src/uts/common/io/cpudrv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/cpudrv.c b/usr/src/uts/common/io/cpudrv.c index ed261ba9a3..31a522e93b 100644 --- a/usr/src/uts/common/io/cpudrv.c +++ b/usr/src/uts/common/io/cpudrv.c @@ -477,7 +477,7 @@ cpudrv_power(dev_info_t *dip, int comp, int level) * if the change is due to a request to throttle the max speed. */ if (!cpudrv_direct_pm && (cpupm->pm_busycnt >= 1) && - !cpudrv_pm_is_throttle_thread(cpupm)) { + !cpudrv_pm_is_throttle_thread(cpupm)) { if ((cpupm->cur_spd != NULL) && (level < cpupm->cur_spd->pm_level)) { mutex_exit(&cpudsp->lock); @@ -590,7 +590,7 @@ set_supp_freqs(cpu_t *cp, cpudrv_pm_t *cpupm) sfptr = supp_freqs + strlen(supp_freqs); } } - cp->cpu_type_info.pi_supp_freqs = supp_freqs; + cp->cpu_supp_freqs = supp_freqs; kmem_free(speeds, cpupm->num_spd * sizeof (uint64_t)); } @@ -1012,7 +1012,7 @@ cpudrv_pm_monitor(void *arg) "cpu_t", ddi_get_instance(dip)); goto do_return; } - if (cp->cpu_type_info.pi_supp_freqs == NULL) + if (cp->cpu_supp_freqs == NULL) set_supp_freqs(cp, cpupm); cpudrv_get_cpu_mstate(cp, msnsecs); |
