clocksource: Replace deprecated CPU-hotplug functions.
[ Upstream commit 698429f9 ] The functions get_online_cpus() and put_online_cpus() have been deprecated during the CPU hotplug rework. They map directly to cpus_read_lock() and cpus_read_unlock(). Replace deprecated CPU-hotplug functions with the official version. The behavior remains unchanged. Signed-off-by:Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210803141621.780504-35-bigeasy@linutronix.de Stable-dep-of: 6bb05a33 ("clocksource: Use migrate_disable() to avoid calling get_random_u32() in atomic context") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading