diff options
-rw-r--r-- | arch/arm/vfp/vfpmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 3b75f1d8a491..15bc3cf2a7fd 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c | |||
@@ -579,7 +579,7 @@ int vfp_preserve_user_clear_hwstate(struct user_vfp *ufp, | |||
579 | */ | 579 | */ |
580 | ufp_exc->fpexc = hwstate->fpexc; | 580 | ufp_exc->fpexc = hwstate->fpexc; |
581 | ufp_exc->fpinst = hwstate->fpinst; | 581 | ufp_exc->fpinst = hwstate->fpinst; |
582 | ufp_exc->fpinst2 = ufp_exc->fpinst2; | 582 | ufp_exc->fpinst2 = hwstate->fpinst2; |
583 | 583 | ||
584 | /* Ensure that VFP is disabled. */ | 584 | /* Ensure that VFP is disabled. */ |
585 | vfp_flush_hwstate(thread); | 585 | vfp_flush_hwstate(thread); |