aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-10-02 17:18:11 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-11-12 16:42:30 +0000
commit27035c23bad54ed552c6741210dd1c4fa50cb386 (patch)
tree72f45b5dbbc8043f7ef55a680b9d750a294aab93 /lib/crypto/mpi/mpi-bit.c
parentb54cdbad4a39bb3abc85ac151f4882b3d92c5d79 (diff)
downloadlinux-27035c23bad54ed552c6741210dd1c4fa50cb386.tar.gz
linux-27035c23bad54ed552c6741210dd1c4fa50cb386.tar.bz2
linux-27035c23bad54ed552c6741210dd1c4fa50cb386.zip
ARM: 9425/1: vfp: Use vfp_state_hold() in vfp_support_entry().
vfp_entry() is invoked from exception handler and is fully preemptible. It uses local_bh_disable() to remain uninterrupted while checking the VFP state. This is not working on PREEMPT_RT because local_bh_disable() synchronizes the relevant section but the context remains fully preemptible. Use vfp_state_hold() for uninterrupted access. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions