Re: [PATCH v2 5/7] arch_topology, cpufreq, sched/core: constify arch_* cpumasks

Catalin Marinas
2020-07-30T11:44:58Z

On Wed, Jul 22, 2020 at 10:37:30AM +0100, Ionela Voinescu wrote:
> From: Valentin Schneider <valentin.schneider@arm.com>
>
> The passed cpumask arguments to:
> - arch_set_freq_scale(),
> - arch_set_thermal_pressure(), and
> - arch_freq_counters_available()
>
> are only iterated over, so reflect this in the prototype. This also
> allows to pass system cpumasks like cpu_online_mask without getting
> a warning.
>
> Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
> Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Sudeep Holla <sudeep.holla@arm.com>
> Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Peter Zijlstra <peterz@infradead.org>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>