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

Andriy Gapon avg at FreeBSD.org
Sun Oct 14 07:18:32 UTC 2012


Author: avg
Date: Sun Oct 14 07:18:32 2012
New Revision: 241525
URL: http://svn.freebsd.org/changeset/base/241525

Log:
  MFC r240634: acpi_cpu: explicitly notify userland about c-state changes

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

Modified: stable/8/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi_cpu.c	Sun Oct 14 07:17:55 2012	(r241524)
+++ stable/8/sys/dev/acpica/acpi_cpu.c	Sun Oct 14 07:18:32 2012	(r241525)
@@ -1038,6 +1038,8 @@ acpi_cpu_notify(ACPI_HANDLE h, UINT32 no
     ACPI_SERIAL_BEGIN(cpu);
     acpi_cpu_set_cx_lowest(sc);
     ACPI_SERIAL_END(cpu);
+
+    acpi_UserNotify("PROCESSOR", sc->cpu_handle, notify);
 }
 
 static int


More information about the svn-src-stable-8 mailing list