diff options
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 2dafceb0d0c6..636b0745d7c7 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -66,6 +66,7 @@ void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) | |||
66 | clear_used_math(); | 66 | clear_used_math(); |
67 | clear_fpu_owner(); | 67 | clear_fpu_owner(); |
68 | init_dsp(); | 68 | init_dsp(); |
69 | clear_thread_flag(TIF_USEDMSA); | ||
69 | clear_thread_flag(TIF_MSA_CTX_LIVE); | 70 | clear_thread_flag(TIF_MSA_CTX_LIVE); |
70 | disable_msa(); | 71 | disable_msa(); |
71 | regs->cp0_epc = pc; | 72 | regs->cp0_epc = pc; |
@@ -141,6 +142,8 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, | |||
141 | childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); | 142 | childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); |
142 | 143 | ||
143 | clear_tsk_thread_flag(p, TIF_USEDFPU); | 144 | clear_tsk_thread_flag(p, TIF_USEDFPU); |
145 | clear_tsk_thread_flag(p, TIF_USEDMSA); | ||
146 | clear_tsk_thread_flag(p, TIF_MSA_CTX_LIVE); | ||
144 | 147 | ||
145 | #ifdef CONFIG_MIPS_MT_FPAFF | 148 | #ifdef CONFIG_MIPS_MT_FPAFF |
146 | clear_tsk_thread_flag(p, TIF_FPUBOUND); | 149 | clear_tsk_thread_flag(p, TIF_FPUBOUND); |