]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/signal32: Isolate non-copy actions in save_user_regs() and save_tm_user_regs()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 18 Aug 2020 17:19:36 +0000 (17:19 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:14 +0000 (01:01 +1100)
commit7f24681926cb81730061da97a222d99437b0f512
treeb00e9752872b3a334bbd57ccdf4fa9ea1f2b3f28
parentde5e4b79684bc667f5ab45ac02c95c7f50e1bcdc
powerpc/signal32: Isolate non-copy actions in save_user_regs() and save_tm_user_regs()

Reorder actions in save_user_regs() and save_tm_user_regs() to
regroup copies together in order to switch to user_access_begin()
logic in a later patch.

Move non-copy actions into new functions called
prepare_save_user_regs() and prepare_save_tm_user_regs().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f6eac65781b4a57220477c8864bca2b57f29a5d5.1597770847.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/signal_32.c