summaryrefslogtreecommitdiff
path: root/io_uring/poll.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-08-23 18:36:35 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-08-31 23:05:27 +1000
commit814816d71e29934d0a76ee259b54c0b80c3b0e4a (patch)
tree2a689053024501123213af60f0dbd674e7d3e8d4 /io_uring/poll.c
parent91926d8b7e71aaf5f84f0cf208fc5a8b7a761050 (diff)
powerpc: Fix hard_irq_disable() with sanitizer
As reported by Zhouyi Zhou, WRITE_ONCE() is not atomic as expected when KASAN or KCSAN are compiled in. Fix it by re-implementing it using inline assembly. Fixes: 077fc62b2b66 ("powerpc/irq: remove inline assembly in hard_irq_disable macro") Reported-by: Zhouyi Zhou <zhouzhouyi@gmail.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/a8298991b3df049a54ee8e558838e34265812014.1661272586.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'io_uring/poll.c')
0 files changed, 0 insertions, 0 deletions