x86/vmware: Remove vmware_sched_clock_setup()
authorAlexey Makhalov <amakhalov@vmware.com>
Mon, 23 Mar 2020 19:57:04 +0000 (19:57 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Mar 2020 08:31:06 +0000 (09:31 +0100)
commitdd735f4707e603ac5b541b5f30de87c3c7bd60dd
treeb5f3e06bda10db216c175ae187ef7b067f331b44
parent14388ae24544c4cc09056773c886839a2c8d256b
x86/vmware: Remove vmware_sched_clock_setup()

Move cyc2ns setup logic to separate function.
This separation will allow to use cyc2ns mult/shift pair
not only for the sched_clock but also for other clocks
such as steal_clock.

Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200323195707.31242-3-amakhalov@vmware.com
arch/x86/kernel/cpu/vmware.c