Commit 419abc4d authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/fpu: convert FPU CIF flag to regular TIF flag



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>
parent 918c7cad
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment