]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/irq: remove inline assembly in hard_irq_disable macro
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 18 May 2022 08:48:55 +0000 (10:48 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 06:57:25 +0000 (16:57 +1000)
commit9a0b0b08ea8c13cb27cdd93c64d7454630ad9047
tree1a60340d77dc7603a0066279dcb961c3cabc4422
parent434c17464ebbff2b69281ee9b35b1280c0f09342
powerpc/irq: remove inline assembly in hard_irq_disable macro

Use WRITE_ONCE() instead of opencoding the saving of current
stack pointeur.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9f05937d8722ddd2064a7c2362d8f9000e15e1ba.1652863723.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/hw_irq.h