File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 1818 .set pop
1919/*
2020 * task_struct *resume(task_struct *prev, task_struct *next,
21- * struct thread_info *next_ti, int usedfpu )
21+ * struct thread_info *next_ti)
2222 */
2323 .align 7
2424 LEAF(resume)
2828 cpu_save_nonscratch a0
2929 LONG_S ra, THREAD_REG31(a0)
3030
31- /*
32- * check if we need to save FPU registers
33- */
34- .set push
35- .set noreorder
36- beqz a3, 1f
37- PTR_L t3, TASK_THREAD_INFO(a0)
38- .set pop
39-
40- /*
41- * clear saved user stack CU1 bit
42- */
43- LONG_L t0, ST_OFF(t3)
44- li t1, ~ST0_CU1
45- and t0, t0, t1
46- LONG_S t0, ST_OFF(t3)
47-
48- .set push
49- .set arch = mips64r2
50- fpu_save_double a0 t0 t1 # c0_status passed in t0
51- # clobbers t1
52- .set pop
53- 1:
54-
5531#if CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0
5632 /* Check if we need to store CVMSEG state */
5733 dmfc0 t0, $11 ,7 /* CvmMemCtl */
You can’t perform that action at this time.
0 commit comments