summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-08-18 08:47:28 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-18 23:49:55 +1000
commit51ed00e71f0130e0f3534b8e7d78facd16829426 (patch)
tree524fc178b50d0eb9d20f013b426728d693e8cf35 /arch/powerpc/kvm
parent6af0b5570b59ce8dd1608a8e48f59eff3f4bdd04 (diff)
powerpc/32: Remove unneccessary calculations in load_up_{fpu/altivec}
No need to re-read SPRN_THREAD, we can calculate thread address from current (r2). And remove a reload of value 1 into r4 as r4 is already 1. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/c04cce578b97a76a9e69a096698b1d89f721768a.1629276437.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions