Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 07:18:32 +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-8@freebsd.org
Subject:   svn commit: r241525 - stable/8/sys/dev/acpica
Message-ID:  <201210140718.q9E7IW1D012290@svn.freebsd.org>

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



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