From: Oleg Nesterov Date: Tue, 2 Sep 2014 17:57:30 +0000 (+0200) Subject: x86, fpu: Shift "fpu_counter = 0" from copy_thread() to arch_dup_task_struct() X-Git-Tag: fixes-against-v3.18-rc2~90^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc56c0f9b870fba7a4eef2bb463db6881284152b;p=pandora-kernel.git x86, fpu: Shift "fpu_counter = 0" from copy_thread() to arch_dup_task_struct() Cosmetic, but I think thread.fpu_counter should be initialized in arch_dup_task_struct() too, along with other "fpu" variables. And probably it make sense to turn it into thread.fpu->counter. Signed-off-by: Oleg Nesterov Link: http://lkml.kernel.org/r/20140902175730.GA21669@redhat.com Reviewed-by: Suresh Siddha Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed