• Ingo Molnar's avatar
    x86/fpu: Pass 'struct fpu' to fpstate_sanitize_xstate() · 36e49e7f
    Ingo Molnar authored
    Currently fpstate_sanitize_xstate() has a task_struct input parameter,
    but it only uses the fpu structure from it - so pass in a 'struct fpu'
    pointer only and update all call sites.
    
    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: default avatarIngo Molnar <mingo@kernel.org>
    36e49e7f
internal.h 15.6 KB