• A
    powerpc: Move part of giveup_vsx into c · a7d623d4
    Anton Blanchard 提交于
    Move the MSR modification into c. Removing it from the assembly
    function will allow us to avoid costly MSR writes by batching them
    up.
    
    Check the FP and VMX bits before calling the relevant giveup_*()
    function. This makes giveup_vsx() and flush_vsx_to_thread() perform
    more like their sister functions, and allows us to use
    flush_vsx_to_thread() in the signal code.
    
    Move the check_if_tm_restore_required() check in.
    Signed-off-by: NAnton Blanchard <anton@samba.org>
    Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
    a7d623d4
process.c 41.9 KB