arm64: topology: Drop the useless update to per-cpu cycles
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Dec 2020 05:47:40 +0000 (11:17 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Dec 2020 12:37:59 +0000 (12:37 +0000)
commit51550a483606e35c379f78d28a7827f50e8fc09c
treeb58bbcc1a95e59be3602823eacebb062f6475e02
parentd889797530c66f699170233474eab3361471e808
arm64: topology: Drop the useless update to per-cpu cycles

The previous call to update_freq_counters_refs() has already updated the
per-cpu variables, don't overwrite them with the same value again.

Fixes: 4b9cf23c179a ("arm64: wrap and generalise counter read functions")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/7a171f710cdc0f808a2bfbd7db839c0d265527e7.1607579234.git.viresh.kumar@linaro.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/topology.c