diff options
author | Cyril Bur <cyrilbur@gmail.com> | 2017-11-02 04:09:06 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-06 10:39:34 +0100 |
commit | 6f700d38a8c9dc4d786ac4a831073194f17c5076 (patch) | |
tree | f0190f89668664fc9f30c0e07e7a70a7eb3132c8 /arch/powerpc/include/asm | |
parent | powerpc: Always save/restore checkpointed regs during treclaim/trecheckpoint (diff) | |
download | linux-6f700d38a8c9dc4d786ac4a831073194f17c5076.tar.xz linux-6f700d38a8c9dc4d786ac4a831073194f17c5076.zip |
powerpc: Remove facility loadups on transactional {fp, vec, vsx} unavailable
After handling a transactional FP, Altivec or VSX unavailable exception.
The return to userspace code will detect that the TIF_RESTORE_TM bit is
set and call restore_tm_state(). restore_tm_state() will call
restore_math() to ensure that the correct facilities are loaded.
This means that all the loadup code in {fp,altivec,vsx}_unavailable_tm()
is doing pointless work and can simply be removed.
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions