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

Sudeep Holla sudeep.holla at arm.com
Wed Sep 2 09:25:30 EDT 2020


On Tue, Sep 01, 2020 at 09:55:48PM +0100, 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>
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: Sudeep Holla <sudeep.holla at arm.com>

Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>

--
Regards,
Sudeep



More information about the linux-arm-kernel mailing list