Heiko Carstens 5a56f7cd5e 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>
2023-01-18 11:30:52 +01:00
..
2018-04-27 06:51:31 +02:00
2021-10-20 11:23:01 +02:00
2018-08-19 10:38:36 -07:00
2018-11-13 11:08:46 -08:00
2018-04-16 09:10:22 +02:00
2021-07-20 16:15:55 +02:00
2022-05-18 09:42:49 +02:00