• Ingo Molnar's avatar
    x86/fpu: Factor out fpu__copy() · a752b53d
    Ingo Molnar authored
    Introduce fpu__copy() and use it in arch_dup_task_struct(),
    thus moving another chunk of FPU logic to fpu/core.c.
    Reviewed-by: default avatarBorislav 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: default avatarIngo Molnar <mingo@kernel.org>
    a752b53d
fpu-internal.h 15.6 KB