xref: /openbmc/linux/arch/x86/include/asm/fpu/regset.h (revision 21f9cb44)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * FPU regset handling methods:
4  */
5 #ifndef _ASM_X86_FPU_REGSET_H
6 #define _ASM_X86_FPU_REGSET_H
7 
8 #include <linux/regset.h>
9 
10 extern user_regset_active_fn regset_fpregs_active, regset_xregset_fpregs_active,
11 				ssp_active;
12 extern user_regset_get2_fn fpregs_get, xfpregs_get, fpregs_soft_get,
13 				 xstateregs_get, ssp_get;
14 extern user_regset_set_fn fpregs_set, xfpregs_set, fpregs_soft_set,
15 				 xstateregs_set, ssp_set;
16 
17 /*
18  * xstateregs_active == regset_fpregs_active. Please refer to the comment
19  * at the definition of regset_fpregs_active.
20  */
21 #define xstateregs_active	regset_fpregs_active
22 
23 #endif /* _ASM_X86_FPU_REGSET_H */
24