summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-24 02:07:15 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:47:29 +0200
commitc69e098b1f90c0d520c4d5b5bff9f2ede95b13a8 (patch)
tree13ae867c328bb463770664f2f69d44d4438ff21a /arch/x86/kernel/process.c
parentf9bc977fe734772a7ca4a467fe4fd74e1ea3a849 (diff)
downloadlinux-c69e098b1f90c0d520c4d5b5bff9f2ede95b13a8.tar.gz
linux-c69e098b1f90c0d520c4d5b5bff9f2ede95b13a8.tar.bz2
linux-c69e098b1f90c0d520c4d5b5bff9f2ede95b13a8.zip
x86/fpu: Use 'struct fpu' in fpu__copy()
Migrate this function to pure 'struct fpu' usage. Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r--arch/x86/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 50d503a2d8c3..e97266b18ad3 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -83,7 +83,7 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
{
*dst = *src;
- return fpu__copy(dst, src);
+ return fpu__copy(&dst->thread.fpu, &src->thread.fpu);
}
void arch_release_task_struct(struct task_struct *tsk)