http://defect.opensolaris.org/bz/show_bug.cgi?id=4001
--- Comment #3 from Eric Saxe <eric.saxe at sun.com> 2008-10-16 14:21:51 ---
I'm adding the following to cpu_idle_fini() as a workaround for the time being:
diff -r 06f163a50ca6 usr/src/uts/i86pc/io/cpudrv/cpu_idle.c
--- a/usr/src/uts/i86pc/io/cpudrv/cpu_idle.c Thu Oct 16 10:58:57 2008 +0800
+++ b/usr/src/uts/i86pc/io/cpudrv/cpu_idle.c Thu Oct 16 14:20:16 2008 -0700
@@ -733,10 +733,12 @@
cstate = (cpu_acpi_cstate_t *)CPU_ACPI_CSTATES(handle);
cpu_max_cstates = CPUDRV_PM_GET_MAX_CSTATES(handle);
- for (i = CPU_ACPI_C1; i <= cpu_max_cstates; i++) {
- if (cstate->cs_ksp != NULL)
- kstat_delete(cstate->cs_ksp);
- cstate++;
+ if (cstate != NULL) {
+ for (i = CPU_ACPI_C1; i <= cpu_max_cstates; i++) {
+ if (cstate->cs_ksp != NULL)
+ kstat_delete(cstate->cs_ksp);
+ cstate++;
+ }
}
cpudrv_free_cstate_domains();
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.