]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/interrupt: Refactor interrupt_exit_user_prepare()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 17 Jun 2021 15:51:13 +0000 (01:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:06:57 +0000 (00:06 +1000)
commitcfe69b2bb596eaaf0f277f168bb57a353731a7b3
treeeb9d4628bc2fa014213101b7299c2297bdaa3552
parentbbd06fd3dfc95c57bc23c24b849550d638a039a6
powerpc/interrupt: Refactor interrupt_exit_user_prepare()

interrupt_exit_user_prepare() is a superset of
interrupt_exit_user_prepare_main().

Refactor to avoid code duplication.

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