]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/irq64: Remove get_irq_happened()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 18 May 2022 07:40:16 +0000 (09:40 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 06:47:43 +0000 (16:47 +1000)
commit98552307e3a72d480e72744bf5da2a865822f496
tree10fa4b57829ca31d4cc3ae553638ec26317b4cbf
parent7d7b28b302085e1ec2815bc9f5205af28394c5db
powerpc/irq64: Remove get_irq_happened()

No need to open code the read of local_paca->irq_happened in
assembly, we have READ_ONCE() for doing the same.

Replace get_irq_happened() by READ_ONCE(local_paca->irq_happened).

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/af511b53e4eb51f8fbc51eda7f5597175e68dce6.1652859593.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/irq_64.c