xref: /openbmc/linux/arch/x86/include/asm/fpu/regset.h (revision c796f021)
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 extern user_regset_get2_fn fpregs_get, xfpregs_get, fpregs_soft_get,
12 				 xstateregs_get;
13 extern user_regset_set_fn fpregs_set, xfpregs_set, fpregs_soft_set,
14 				 xstateregs_set;
15 
16 /*
17  * xstateregs_active == regset_fpregs_active. Please refer to the comment
18  * at the definition of regset_fpregs_active.
19  */
20 #define xstateregs_active	regset_fpregs_active
21 
22 #endif /* _ASM_X86_FPU_REGSET_H */
23