• Ingo Molnar's avatar
    x86/fpu: Move the xstate copying functions into fpu/internal.h · fd169b05
    Ingo Molnar authored
    All the other register<-> memory copying functions are defined
    in fpu/internal.h, so move the xstate variants there too.
    
    Beyond being more consistent, this also allows FPU debugging
    checks to be added to them. (Because they can now use the
    macros defined in fpu/internal.h.)
    
    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: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    fd169b05
xstate.h 1.17 KB