]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb37d44829199ba1be64ebe08249638f4792d4f74
treee9d069f5339d39ec7e3b761f4e4dba86939175e5
parentd09bb68aad12bbe09bef7548c99d47987974d78e
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]