• I
    x86/fpu: Use 'struct fpu' in fpu_lazy_restore() · 66ddc2cb
    Ingo Molnar 提交于
    Also rename it to fpu_want_lazy_restore(), to better indicate that
    this function just tests whether we can do a lazy restore. (The old
    name suggested that it was doing the lazy restore, which is not
    the case.)
    Reviewed-by: NBorislav 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: NIngo Molnar <mingo@kernel.org>
    66ddc2cb
fpu-internal.h 14.6 KB