powerpc/signal32: Reorder user reads in restore_tm_user_regs()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 19 Mar 2021 11:06:56 +0000 (11:06 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 3 Apr 2021 10:22:19 +0000 (21:22 +1100)
commit036fc2cb1dc2245c2ea7d2f03c7af80417b6310c
treed36455f3cd667692c241ca9db93b5c773c78ffc9
parent362471b3192e4184fff5fedee1ea20bdf637a0c8
powerpc/signal32: Reorder user reads in restore_tm_user_regs()

In restore_tm_user_regs(), regroup the reads from 'sr' and the ones
from 'tm_sr' together in order to allow two block user accesses
in following patch.

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