These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / s390 / include / asm / fpu / types.h
1 /*
2  * FPU data structures
3  *
4  * Copyright IBM Corp. 2015
5  * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
6  */
7
8 #ifndef _ASM_S390_FPU_TYPES_H
9 #define _ASM_S390_FPU_TYPES_H
10
11 #include <asm/sigcontext.h>
12
13 struct fpu {
14         __u32 fpc;                      /* Floating-point control */
15         union {
16                 void *regs;
17                 freg_t *fprs;           /* Floating-point register save area */
18                 __vector128 *vxrs;      /* Vector register save area */
19         };
20 };
21
22 /* VX array structure for address operand constraints in inline assemblies */
23 struct vx_array { __vector128 _[__NUM_VXRS]; };
24
25 #endif /* _ASM_S390_FPU_TYPES_H */