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 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
parent | 82d3edb50a11bf3c5ef63294d5358ba230181413 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions