diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 13:51:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-18 13:58:12 +0300 |
commit | b6ac9ded42aeafb1d307ffc9da8e1965117e9060 (patch) | |
tree | 8edb8e3672180568b252d00d1eb8ad6e3a141084 /fs/jfs/jfs_inode.h | |
parent | 45a584f139e881366b04072ad86a961673047792 (diff) | |
download | linux-b6ac9ded42aeafb1d307ffc9da8e1965117e9060.tar.xz |
s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
commit e3f360db08d55a14112bd27454e616a24296a8b0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jfs/jfs_inode.h')
0 files changed, 0 insertions, 0 deletions