• I
    x86/fpu: Pass 'struct fpu' to fpu__restore() · e1884d69
    Ingo Molnar 提交于
    This cleans up the call sites and the function a bit,
    and also makes it more symmetric with the other high
    level FPU state handling functions.
    
    It's still only valid for the current task, as we copy
    to the FPU registers of the current CPU.
    
    No change in functionality.
    
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    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>
    e1884d69
traps.c 25.2 KB