X-Git-Url: http://git.agner.ch/gitweb/?p=linux-drm-fsl-dcu.git;a=blobdiff_plain;f=arch%2Fmips%2Floongson%2Floongson-3%2Fcop2-ex.c;h=ea13764d0a035ccc5ec6cf443f021aa1f4f58103;hp=b03e37d2071ac867e65a702f7e052a00c13f496c;hb=9b26616c8d9dae53fbac7f7cb2c6dd1308102976;hpb=ef4a48c513211d842c55e84f7a1c31884b91dcf7 diff --git a/arch/mips/loongson/loongson-3/cop2-ex.c b/arch/mips/loongson/loongson-3/cop2-ex.c index b03e37d2071a..ea13764d0a03 100644 --- a/arch/mips/loongson/loongson-3/cop2-ex.c +++ b/arch/mips/loongson/loongson-3/cop2-ex.c @@ -43,7 +43,7 @@ static int loongson_cu2_call(struct notifier_block *nfb, unsigned long action, if (!fpu_owned) { set_thread_flag(TIF_USEDFPU); if (!used_math()) { - _init_fpu(); + _init_fpu(current->thread.fpu.fcr31); set_used_math(); } else _restore_fp(current);