Author: avg
Date: Tue Sep 18 08:17:29 2012
New Revision: 240634
URL: http://svn.freebsd.org/changeset/base/240634

Log:
  acpi_cpu: explicitly notify userland about c-state changes
  
  ... after they are committed.
  A notification is sent per CPU.
  
  Reviewed by:  imp
  MFC after:    3 weeks

Modified:
  head/sys/dev/acpica/acpi_cpu.c

Modified: head/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- head/sys/dev/acpica/acpi_cpu.c      Tue Sep 18 08:12:28 2012        
(r240633)
+++ head/sys/dev/acpica/acpi_cpu.c      Tue Sep 18 08:17:29 2012        
(r240634)
@@ -1063,6 +1063,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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to