x86/fpu: Simplify fpregs_[un]lock()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 27 Oct 2020 10:09:50 +0000 (11:09 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 11 Nov 2020 13:35:16 +0000 (14:35 +0100)
commit5f0c71278d6848b4809f83af90f28196e1505ab1
tree0478702fab51eaf11f32cde8e77dccebf857a53c
parentf8394f232b1eab649ce2df5c5f15b0e528c92091
x86/fpu: Simplify fpregs_[un]lock()

There is no point in disabling preemption and then disabling bottom
halfs.

Just disabling bottom halfs is sufficient as it implicitly disables
preemption on !RT kernels.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201027101349.455380473@linutronix.de
arch/x86/include/asm/fpu/api.h