aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/processor_perflib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index e98071a64810..0133af49cf06 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -95,10 +95,10 @@ static int acpi_processor_ppc_notifier(struct notifier_block *nb,
95 if (ignore_ppc) 95 if (ignore_ppc)
96 return 0; 96 return 0;
97 97
98 mutex_lock(&performance_mutex);
99
100 if (event != CPUFREQ_INCOMPATIBLE) 98 if (event != CPUFREQ_INCOMPATIBLE)
101 goto out; 99 return 0;
100
101 mutex_lock(&performance_mutex);
102 102
103 pr = per_cpu(processors, policy->cpu); 103 pr = per_cpu(processors, policy->cpu);
104 if (!pr || !pr->performance) 104 if (!pr || !pr->performance)