summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpi_cpu.c')
-rw-r--r--sys/dev/acpica/acpi_cpu.c2
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 &&
OpenPOWER on IntegriCloud