[PATCH v3 4/5] arch_topology, cpufreq: constify arch_* cpumasks

Viresh Kumar viresh.kumar at linaro.org
Tue Aug 25 02:27:43 EDT 2020


On 24-08-20, 22:02, Ionela Voinescu wrote:
> From: Valentin Schneider <valentin.schneider at arm.com>
> 
> The passed cpumask arguments to arch_set_freq_scale() 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>
> Acked-by: Catalin Marinas <catalin.marinas 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>
> ---
>  arch/arm64/kernel/topology.c  | 2 +-
>  drivers/base/arch_topology.c  | 4 ++--
>  drivers/cpufreq/cpufreq.c     | 5 +++--
>  include/linux/arch_topology.h | 2 +-
>  include/linux/cpufreq.h       | 3 ++-
>  5 files changed, 9 insertions(+), 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh



More information about the linux-arm-kernel mailing list