]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: restore_math remove TM test
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Jun 2020 23:41:37 +0000 (09:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:00:24 +0000 (13:00 +1000)
commit81336f2bf5ac90c50ddcbde2b69e0dd6b3c3c8fd
tree098016ead14d1e6d4b9b24d65f62f8fb68edcc6a
parent4efceefd919c6d05d9688b8ddc4ff295b78c4080
powerpc/64s: restore_math remove TM test

The TM test in restore_math added by commit 878cc541676ce ("powerpc:
Always restore FPU/VEC/VSX if hardware transactional memory in use") is
no longer necessary after commit 1a0f95a1a2a7f ("powerpc/tm: Fix
restoring FP/VMX facility incorrectly on interrupts"), which removed
the cases where restore_math has to restore if TM is active.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200623234139.2262227-1-npiggin@gmail.com
arch/powerpc/kernel/process.c