]> 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)
commit9b43f1f35d36eaf8cf4088fe0f045a29737c1d2c
treeeb9d4628bc2fa014213101b7299c2297bdaa3552
parentcd12114009b5dbaa09a23850cdae39d7b7831530
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