summaryrefslogtreecommitdiff
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-01-09 13:51:20 +0300
committerHeiko Carstens <hca@linux.ibm.com>2023-01-11 17:28:47 +0300
commite3f360db08d55a14112bd27454e616a24296a8b0 (patch)
treee876ff0fc1b7ebbf50795332a5550737b52ad4bc /arch/s390/kvm
parent82d3edb50a11bf3c5ef63294d5358ba230181413 (diff)
downloadlinux-e3f360db08d55a14112bd27454e616a24296a8b0.tar.xz
s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
Make sure that *ptr__ within arch_this_cpu_to_op_simple() is only dereferenced once by using READ_ONCE(). Otherwise the compiler could generate incorrect code. Cc: <stable@vger.kernel.org> Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions