Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f7f50cb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpufreq: persistent_stats: Use correct CPU to get freq table"

parents ed4b1a2e 73308b21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ static int cpufreq_stats_create_table(unsigned int cpu,
	struct cpu_persistent_stats *cpu_stats = &per_cpu(pcpu_stats, cpu);
	unsigned long irq_flags;
	struct cpufreq_frequency_table *table =
		cpufreq_frequency_get_table(cpu);
		cpufreq_frequency_get_table(policy->cpu);

	if (unlikely(!table))
		return -EINVAL;