Skip to content

Commit 4a08e32

Browse files
Hector.Yuanvireshk
authored andcommitted
cpufreq: Fix parameter in parse_perf_domain()
Pass cpu to parse_perf_domain() instead of pcpu. Fixes: 8486a32 ("cpufreq: Add of_perf_domain_get_sharing_cpumask") Signed-off-by: Hector.Yuan <[email protected]> [ Viresh: Massaged changelog ] Signed-off-by: Viresh Kumar <[email protected]>
1 parent c2ace21 commit 4a08e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/cpufreq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ static inline int of_perf_domain_get_sharing_cpumask(int pcpu, const char *list_
10411041
if (cpu == pcpu)
10421042
continue;
10431043

1044-
ret = parse_perf_domain(pcpu, list_name, cell_name);
1044+
ret = parse_perf_domain(cpu, list_name, cell_name);
10451045
if (ret < 0)
10461046
continue;
10471047

0 commit comments

Comments
 (0)