sparc32, copy_thread: Clear TIF_USEDFPU flag of created task instead of current
authorTkhai Kirill <tkhai@yandex.ru>
Fri, 29 Jun 2012 02:55:25 +0000 (02:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2012 23:49:40 +0000 (16:49 -0700)
commit427f23cb3abc21c3784df8ae907c4c3a31d885d1
tree6e903641bbc8f40c031bc2cfa32e2c319c77bae2
parenta0ce3ba03f6bd49459c6c40a03faf10b23831c1b
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: Kirill Tkhai <tkhai@yandex.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/process_32.c