]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d5258978bb211f8549112ab86b0880115b95307
treed36455f3cd667692c241ca9db93b5c773c78ffc9
parent2dd2c93ef98d9f746f751e00363881c035d6b19b
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