svn commit: r239814 - stable/8/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Wed Aug 29 08:59:02 UTC 2012


Author: avg
Date: Wed Aug 29 08:59:02 2012
New Revision: 239814
URL: http://svn.freebsd.org/changeset/base/239814

Log:
  MFC r238194: acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3
  here too

Modified:
  stable/8/sys/dev/acpica/acpi_cpu.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)

Modified: stable/8/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi_cpu.c	Wed Aug 29 08:58:10 2012	(r239813)
+++ stable/8/sys/dev/acpica/acpi_cpu.c	Wed Aug 29 08:59:02 2012	(r239814)
@@ -619,6 +619,7 @@ acpi_cpu_generic_cx_probe(struct acpi_cp
     cx_ptr->type = ACPI_STATE_C1;
     cx_ptr->trans_lat = 0;
     cx_ptr++;
+    sc->cpu_non_c3 = sc->cpu_cx_count;
     sc->cpu_cx_count++;
 
     /* 
@@ -643,6 +644,7 @@ acpi_cpu_generic_cx_probe(struct acpi_cp
 	    cx_ptr->type = ACPI_STATE_C2;
 	    cx_ptr->trans_lat = AcpiGbl_FADT.C2Latency;
 	    cx_ptr++;
+	    sc->cpu_non_c3 = sc->cpu_cx_count;
 	    sc->cpu_cx_count++;
 	}
     }


More information about the svn-src-stable mailing list