svn commit: r241524 - stable/9/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Sun Oct 14 07:17:55 UTC 2012


Author: avg
Date: Sun Oct 14 07:17:55 2012
New Revision: 241524
URL: http://svn.freebsd.org/changeset/base/241524

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

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

Modified: stable/9/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- stable/9/sys/dev/acpica/acpi_cpu.c	Sun Oct 14 06:52:49 2012	(r241523)
+++ stable/9/sys/dev/acpica/acpi_cpu.c	Sun Oct 14 07:17:55 2012	(r241524)
@@ -1053,6 +1053,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-all mailing list