diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 11:51:20 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-11 15:28:47 +0100 |
commit | e3f360db08d55a14112bd27454e616a24296a8b0 (patch) | |
tree | e876ff0fc1b7ebbf50795332a5550737b52ad4bc /ipc/mq_sysctl.c | |
parent | 82d3edb50a11bf3c5ef63294d5358ba230181413 (diff) | |
download | linux-e3f360db08d55a14112bd27454e616a24296a8b0.tar.gz linux-e3f360db08d55a14112bd27454e616a24296a8b0.tar.bz2 linux-e3f360db08d55a14112bd27454e616a24296a8b0.zip |
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 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions