]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/interrupt: Interchange prep_irq_for_{kernel_enabled/user}_exit()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 17 Jun 2021 15:51:14 +0000 (01:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:06:57 +0000 (00:06 +1000)
commit22d9cfc5de516255671e512e62e270d632e93cf7
treef9b26482db09a31d9f08cb030be13d713e209bf9
parentcfe69b2bb596eaaf0f277f168bb57a353731a7b3
powerpc/interrupt: Interchange prep_irq_for_{kernel_enabled/user}_exit()

prep_irq_for_user_exit() is a superset of
prep_irq_for_kernel_enabled_exit(). In order to allow refactoring in
following patch, interchange the two. This will allow
prep_irq_for_user_exit() to call a renamed version of
prep_irq_for_kernel_enabled_exit().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210617155116.2167984-16-npiggin@gmail.com
arch/powerpc/kernel/interrupt.c