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)
commit99f98f849cf13e5fac532979ccdb77dff07665db
treef9b26482db09a31d9f08cb030be13d713e209bf9
parenta214ee8802adb864d175ea6ca4176223bcc11d2b
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