]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commita214ee8802adb864d175ea6ca4176223bcc11d2b
treeeb9d4628bc2fa014213101b7299c2297bdaa3552
parentf84aa284947f325c5697d35b92abd2047224f24b
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