]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - arch/x86/kernel/fpu/Makefile
x86/fpu: Factor out the FPU regset code into fpu/regset.c
authorIngo Molnar <mingo@kernel.org>
Thu, 30 Apr 2015 10:59:30 +0000 (12:59 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:48:09 +0000 (15:48 +0200)
commit0c306bcfba288296dc34d00d514546915234bc90
treee9d069f5339d39ec7e3b761f4e4dba86939175e5
parentb992c660d3b3161ddb992e1b0cac727de574709c
x86/fpu: Factor out the FPU regset code into fpu/regset.c

So much of fpu/core.c is the regset code, but it just obscures the generic
FPU state machine logic. Factor out the regset code into fpu/regset.c, where
it can be read in isolation.

This affects one API: fpu__activate_stopped() has to be made available
from the core to fpu/regset.c.

No change in functionality.

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: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu/internal.h
arch/x86/kernel/fpu/Makefile
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/regset.c [new file with mode: 0644]