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
This commit is contained in:
Andriy Gapon 2012-09-18 08:17:29 +00:00
parent b93e731fd4
commit 154fc7b6c7

View File

@ -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