]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/powerpc/kernel/irq.c
powerpc/64: Cleanup __check_irq_replay()
authorNicholas Piggin <npiggin@gmail.com>
Fri, 11 Aug 2017 16:39:02 +0000 (02:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 13:13:15 +0000 (23:13 +1000)
commit6f881eaeb552ad27b7e8210919c19b7be3d88d9d
treeac9b1f87df63956e8bb59f2cb0fcd9c9b0748b73
parentc05f0be888225f7228f81825730da3c9ba2088cb
powerpc/64: Cleanup __check_irq_replay()

Move the clearing of irq_happened bits into the condition where they
were found to be set. This reduces instruction count slightly, and
reduces stores into irq_happened.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/irq.c