-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/fpu: Factor out fpu/regset.h from fpu/internal.h
Only a few places use the regset definitions, so factor them out. Also fix related header dependency assumptions. 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>
- Loading branch information
Ingo Molnar
committed
May 19, 2015
1 parent
fcbc99c
commit 59a36d1
Showing
6 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* FPU regset handling methods: | ||
*/ | ||
#ifndef _ASM_X86_FPU_REGSET_H | ||
#define _ASM_X86_FPU_REGSET_H | ||
|
||
#include <linux/regset.h> | ||
|
||
extern user_regset_active_fn regset_fpregs_active, regset_xregset_fpregs_active; | ||
extern user_regset_get_fn fpregs_get, xfpregs_get, fpregs_soft_get, | ||
xstateregs_get; | ||
extern user_regset_set_fn fpregs_set, xfpregs_set, fpregs_soft_set, | ||
xstateregs_set; | ||
|
||
/* | ||
* xstateregs_active == regset_fpregs_active. Please refer to the comment | ||
* at the definition of regset_fpregs_active. | ||
*/ | ||
#define xstateregs_active regset_fpregs_active | ||
|
||
#endif /* _ASM_X86_FPU_REGSET_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters