File tree 1 file changed +1
-25
lines changed
1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 18
18
.set pop
19
19
/*
20
20
* task_struct *resume(task_struct *prev, task_struct *next,
21
- * struct thread_info *next_ti, int usedfpu )
21
+ * struct thread_info *next_ti)
22
22
*/
23
23
.align 7
24
24
LEAF(resume)
28
28
cpu_save_nonscratch a0
29
29
LONG_S ra, THREAD_REG31(a0)
30
30
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
-
55
31
#if CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0
56
32
/* Check if we need to store CVMSEG state */
57
33
dmfc0 t0, $11 ,7 /* CvmMemCtl */
You can’t perform that action at this time.
0 commit comments