]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/mips/include/asm/mmu_context.h
MIPS,prctl: add PR_[GS]ET_FP_MODE prctl options for MIPS
[karo-tx-linux.git] / arch / mips / include / asm / mmu_context.h
index 2f82568a3ee4cf2caa9e55f3e4b1d2e25eb26090..87f11072f557f684e4a1c2dcc09376cb34fa0a89 100644 (file)
@@ -132,6 +132,8 @@ init_new_context(struct task_struct *tsk, struct mm_struct *mm)
        for_each_possible_cpu(i)
                cpu_context(i, mm) = 0;
 
+       atomic_set(&mm->context.fp_mode_switching, 0);
+
        return 0;
 }