]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mtrr: Replace deprecated CPU-hotplug functions.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 3 Aug 2021 14:15:50 +0000 (16:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 12:46:27 +0000 (14:46 +0200)
commitc6c1ae33a4115077f7240c2b1cf5f37568c7b26c
tree04761215161dd6fa34d754e7e36df193b532c876
parent6dc15b591b5eceea099e187e0587c99e448c90c7
x86/mtrr: Replace deprecated CPU-hotplug functions.

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-8-bigeasy@linutronix.de
arch/x86/kernel/cpu/mtrr/mtrr.c