Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 07:17:55 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r241524 - stable/9/sys/dev/acpica
Message-ID:  <201210140717.q9E7HtRQ012159@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210140717.q9E7HtRQ012159>