|
@@ -573,7 +573,7 @@ int vfp_preserve_user_clear_hwstate(struct user_vfp *ufp,
|
|
*/
|
|
*/
|
|
ufp_exc->fpexc = hwstate->fpexc;
|
|
ufp_exc->fpexc = hwstate->fpexc;
|
|
ufp_exc->fpinst = hwstate->fpinst;
|
|
ufp_exc->fpinst = hwstate->fpinst;
|
|
- ufp_exc->fpinst2 = ufp_exc->fpinst2;
|
|
|
|
|
|
+ ufp_exc->fpinst2 = hwstate->fpinst2;
|
|
|
|
|
|
/* Ensure that VFP is disabled. */
|
|
/* Ensure that VFP is disabled. */
|
|
vfp_flush_hwstate(thread);
|
|
vfp_flush_hwstate(thread);
|