diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-16 17:28:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-16 17:28:53 +0000 |
commit | 4cd3dda29171288aa0573256111fd627b057ca9b (patch) | |
tree | 1b6f9ed7a4251559f2049f2eba5dec525f9d6ff1 /sys/dev/acpica/acpi_cpu.c | |
parent | a307d114081c6667904ee03c3fb7c2bc079ee3ce (diff) | |
download | FreeBSD-src-4cd3dda29171288aa0573256111fd627b057ca9b.zip FreeBSD-src-4cd3dda29171288aa0573256111fd627b057ca9b.tar.gz |
Catch up to changes in acpivar.h to add support for using ACPI on
4-stable systems.
Sponsored by: The Weather Channel
Diffstat (limited to 'sys/dev/acpica/acpi_cpu.c')
-rw-r--r-- | sys/dev/acpica/acpi_cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c index d37ccfd..30c1cfe 100644 --- a/sys/dev/acpica/acpi_cpu.c +++ b/sys/dev/acpica/acpi_cpu.c @@ -259,6 +259,7 @@ static void acpi_cpu_init_throttling(void *arg) { int cpu_temp_speed; + ACPI_LOCK_DECL; ACPI_LOCK; @@ -352,6 +353,7 @@ acpi_cpu_power_profile(void *arg) { int state; u_int32_t new; + ACPI_LOCK_DECL; state = power_profile_get_state(); if (state != POWER_PROFILE_PERFORMANCE && |