diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-08-18 11:47:28 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-18 16:49:55 +0300 |
commit | 51ed00e71f0130e0f3534b8e7d78facd16829426 (patch) | |
tree | 524fc178b50d0eb9d20f013b426728d693e8cf35 /arch/powerpc/kvm/Kconfig | |
parent | 6af0b5570b59ce8dd1608a8e48f59eff3f4bdd04 (diff) | |
download | linux-51ed00e71f0130e0f3534b8e7d78facd16829426.tar.xz |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions