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)
commit077fc62b2b66a95af43dbb363fb8e932999812d3
tree1a60340d77dc7603a0066279dcb961c3cabc4422
parent78ffe6a7e2a169c4dcbbd08717a0a8d738659d15
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