• Heiko Carstens's avatar
    s390/fpu: convert FPU CIF flag to regular TIF flag · 419abc4d
    Heiko Carstens authored
    The FPU state, as represented by the CIF_FPU flag reflects the FPU state of
    a task, not the CPU it is running on. Therefore convert the flag to a
    regular TIF flag.
    
    This removes the magic in switch_to() where a save_fpu_regs() call for the
    currently (previous) running task sets the per-cpu CIF_FPU flag, which is
    required to restore FPU register contents of the next task, when it returns
    to user space.
    Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    419abc4d
fpu.h 5.84 KB