]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/interrupt: Rename and lightly change syscall_exit_prepare_main()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 17 Jun 2021 15:51:12 +0000 (01:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:06:57 +0000 (00:06 +1000)
commitbbd06fd3dfc95c57bc23c24b849550d638a039a6
tree7145f1b68663a0444efb18777eeeba7aa8c8d118
parent1cc3dd150a2033d7b0104180723f1066f0ef5ba9
powerpc/interrupt: Rename and lightly change syscall_exit_prepare_main()

Rename syscall_exit_prepare_main() into interrupt_exit_prepare_main()

Pass it the 'ret' so that it can 'or' it directly instead of
oring twice, once inside the function and once outside.

And remove 'r3' parameter which is not used.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
[np: split out some changes into other patches]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210617155116.2167984-14-npiggin@gmail.com
arch/powerpc/kernel/interrupt.c