• I
    x86/fpu: Factor out the exception error code handling code · e1cebad4
    Ingo Molnar 提交于
    Factor out the FPU error code handling code from traps.c and fpu/internal.h
    and move them close to each other.
    
    Also convert the helper functions to 'struct fpu *', which further simplifies
    them.
    
    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>
    e1cebad4
internal.h 12.3 KB