]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Move the xstate copying functions into fpu/internal.h
authorIngo Molnar <mingo@kernel.org>
Mon, 25 May 2015 07:55:39 +0000 (09:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 25 May 2015 10:49:33 +0000 (12:49 +0200)
commitf84153362cc5166be880921e7085af9a1d20ec70
tree1ac6a6fb855ec4202dbaf86845fbfa4d3af4b7a9
parent61a2f3a2049163eae71bdd58a67ca7d4bf2865a6
x86/fpu: Move the xstate copying functions into fpu/internal.h

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: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu/internal.h
arch/x86/include/asm/fpu/xstate.h