• Ingo Molnar's avatar
    x86/fpu: Rename init_fpu() to fpu__unlazy_stopped() and add debugging check · 67e97fc2
    Ingo Molnar authored
    This function name is a misnomer now that we've split out all the
    other users from it. Rename it accordingly: it's used to save
    the FPU state of (ptrace-)stopped child tasks.
    
    Add debugging check to double check this intended usage: that this
    function is only called for non-current, stopped child tasks.
    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>
    67e97fc2
i387.c 15.8 KB