From 28643e5478e5d85a2d08f5e8d995fa80d414931d Mon Sep 17 00:00:00 2001 From: avg Date: Tue, 18 Sep 2012 08:17:29 +0000 Subject: 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 --- sys/dev/acpica/acpi_cpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/acpica') diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c index d35a526..01534027 100644 --- a/sys/dev/acpica/acpi_cpu.c +++ b/sys/dev/acpica/acpi_cpu.c @@ -1063,6 +1063,8 @@ acpi_cpu_notify(ACPI_HANDLE h, UINT32 notify, void *context) ACPI_SERIAL_BEGIN(cpu); acpi_cpu_set_cx_lowest(sc); ACPI_SERIAL_END(cpu); + + acpi_UserNotify("PROCESSOR", sc->cpu_handle, notify); } static int -- cgit v1.1