diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-05-18 10:32:27 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-06-29 16:57:09 +1000 |
commit | ef5b570d3700fbb8628a58da0487486ceeb713cd (patch) | |
tree | 0ea8bf80e0f67d970d2f19444e4ddd51ae6e1f15 /tools | |
parent | 98552307e3a72d480e72744bf5da2a865822f496 (diff) |
powerpc/irq: Don't open code irq_soft_mask helpers
Use READ_ONCE() and WRITE_ONCE() instead of open coding
read and write of local PACA irq_soft_mask.
For the write, add a barrier to keep the memory clobber
that was there previously.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e2454434992cc932a5a34b695ae981c0b2f4c28e.1652862729.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions