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

Catalin Marinas catalin.marinas at arm.com
Thu Jul 30 07:43:26 EDT 2020


On Wed, Jul 22, 2020 at 10:37:30AM +0100, Ionela Voinescu wrote:
> From: Valentin Schneider <valentin.schneider at 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 at arm.com>
> Signed-off-by: Ionela Voinescu <ionela.voinescu at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: Sudeep Holla <sudeep.holla at arm.com>
> Cc: Rafael J. Wysocki <rjw at rjwysocki.net>
> Cc: Viresh Kumar <viresh.kumar at linaro.org>
> Cc: Ingo Molnar <mingo at redhat.com>
> Cc: Peter Zijlstra <peterz at infradead.org>

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



More information about the linux-arm-kernel mailing list