On Wed, 18 May 2022 10:48:55 +0200, Christophe Leroy wrote:
> Use WRITE_ONCE() instead of opencoding the saving of current
> stack pointeur.
>
>
Applied to powerpc/next.
[1/1] powerpc/irq: remove inline assembly in hard_irq_disable macro
https://git.kernel.org/powerpc/c/077fc62b2b66a95af4
Use WRITE_ONCE() instead of opencoding the saving of current
stack pointeur.
Signed-off-by: Christophe Leroy
---
By the way, is WRITE_ONCE() needed at all ? Could we instead do
local_paca->saved_r1 = current_stack_pointer;
---
arch/powerpc/include/asm/hw_irq.h | 4 +---
1 file changed, 1 insert