]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
acpi_cpu_notify: disable acpi_cpu_idle while updating C-state data
authoravg <avg@FreeBSD.org>
Sat, 1 Dec 2012 18:06:05 +0000 (18:06 +0000)
committeravg <avg@FreeBSD.org>
Sat, 1 Dec 2012 18:06:05 +0000 (18:06 +0000)
commite670629b6ab33961a09adc96858b7b8c31293321
treeff095c85e89b791f3f8a61f33bbcf58eb51098e5
parent2574e6f8e5a133710a74d74c7a1167b12fa38cfd
acpi_cpu_notify: disable acpi_cpu_idle while updating C-state data

... to avoid any races or inconsistencies.
This should fix a regression introduced in r243404.

Also, remove a stale comment that has not been true for quite a while
now.

Pointyhat to: avg
Teested by: trociny, emaste, dumbbell (earlier version)
MFC after:  1 week
sys/dev/acpica/acpi_cpu.c