x86/aperfmperf: Restructure arch_scale_freq_tick()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Apr 2022 19:19:57 +0000 (21:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 27 Apr 2022 18:22:19 +0000 (20:22 +0200)
commit73a5fa7d51366a549a9f2e3ee875ae51aa0b5580
treeb69431805894522c16d1bf3652e1c8f5a27f9999
parent24620d94a52adc0cafe65dc65bed1d586ca04a6e
x86/aperfmperf: Restructure arch_scale_freq_tick()

Preparation for sharing code with the CPU frequency portion of the
aperf/mperf code.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Link: https://lore.kernel.org/r/20220415161206.706185092@linutronix.de
arch/x86/kernel/cpu/aperfmperf.c