]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitfd169b05415485bf47606d820194c39cb2f53201
tree1ac6a6fb855ec4202dbaf86845fbfa4d3af4b7a9
parent3152657f104ce9b0f80793c92a745d5e97b43812
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