Skip to content
Commit 427f23cb authored by Tkhai Kirill's avatar Tkhai Kirill Committed by David S. Miller
Browse files

sparc32, copy_thread: Clear TIF_USEDFPU flag of created task instead of current



FPU state is saved into task_struct of created task. Current task continues
use of the state, so it needs TIF_USEDFPU flag is not cleared.

Created task receives fresh FPU and cleared TIF_USEFPU flag is required for it.

Signed-off-by: default avatarKirill Tkhai <tkhai@yandex.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a0ce3ba0
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