aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/fpu/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/fpu/internal.h')
-rw-r--r--arch/s390/include/asm/fpu/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/fpu/internal.h b/arch/s390/include/asm/fpu/internal.h
index ea91ddfe54eb..629c90865a07 100644
--- a/arch/s390/include/asm/fpu/internal.h
+++ b/arch/s390/include/asm/fpu/internal.h
@@ -40,6 +40,7 @@ static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs)
40static inline void fpregs_store(_s390_fp_regs *fpregs, struct fpu *fpu) 40static inline void fpregs_store(_s390_fp_regs *fpregs, struct fpu *fpu)
41{ 41{
42 fpregs->pad = 0; 42 fpregs->pad = 0;
43 fpregs->fpc = fpu->fpc;
43 if (MACHINE_HAS_VX) 44 if (MACHINE_HAS_VX)
44 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); 45 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs);
45 else 46 else
@@ -49,6 +50,7 @@ static inline void fpregs_store(_s390_fp_regs *fpregs, struct fpu *fpu)
49 50
50static inline void fpregs_load(_s390_fp_regs *fpregs, struct fpu *fpu) 51static inline void fpregs_load(_s390_fp_regs *fpregs, struct fpu *fpu)
51{ 52{
53 fpu->fpc = fpregs->fpc;
52 if (MACHINE_HAS_VX) 54 if (MACHINE_HAS_VX)
53 convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs); 55 convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs);
54 else 56 else