x86, ptrace: Remove set_stopped_child_used_math() in [x]fpregs_set
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 22 Feb 2010 22:51:34 +0000 (14:51 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 23 Feb 2010 21:45:27 +0000 (13:45 -0800)
commit6dbbe14f21368a45aedba7eab0221857b8ad8d16
treec6226a4e9e04a7e2bd8aba94c04f543a9dc6cee4
parentff7fbc72e0c3ef7e94a27a3a918fd09ec9a30204
x86, ptrace: Remove set_stopped_child_used_math() in [x]fpregs_set

init_fpu() already ensures that the used_math() is set for the stopped child.
Remove the redundant set_stopped_child_used_math() in [x]fpregs_set()

Reported-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <20100222225240.642169080@sbs-t61.sc.intel.com>
Acked-by: Rolan McGrath <roland@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/i387.c