Skip to contentSkip to conversation

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

PATCH David Miller 1 participant 1 message Jul 26, 2012

lore
Share & tools
lore

David Miller

author Applied
#0 lore raw

From: Kirill Tkhai <[email protected]>
Date: Fri, 29 Jun 2012 16:55:25 +0400

Quoted 6 lines

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.

Applied.