diff options
Diffstat (limited to 'arch/mips/kernel/mips-mt-fpaff.c')
-rw-r--r-- | arch/mips/kernel/mips-mt-fpaff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/mips-mt-fpaff.c b/arch/mips/kernel/mips-mt-fpaff.c index cbc6182b0065..f5981c499109 100644 --- a/arch/mips/kernel/mips-mt-fpaff.c +++ b/arch/mips/kernel/mips-mt-fpaff.c | |||
@@ -100,10 +100,10 @@ asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, | |||
100 | if (test_ti_thread_flag(ti, TIF_FPUBOUND) && | 100 | if (test_ti_thread_flag(ti, TIF_FPUBOUND) && |
101 | cpus_intersects(new_mask, mt_fpu_cpumask)) { | 101 | cpus_intersects(new_mask, mt_fpu_cpumask)) { |
102 | cpus_and(effective_mask, new_mask, mt_fpu_cpumask); | 102 | cpus_and(effective_mask, new_mask, mt_fpu_cpumask); |
103 | retval = set_cpus_allowed(p, effective_mask); | 103 | retval = set_cpus_allowed_ptr(p, &effective_mask); |
104 | } else { | 104 | } else { |
105 | clear_ti_thread_flag(ti, TIF_FPUBOUND); | 105 | clear_ti_thread_flag(ti, TIF_FPUBOUND); |
106 | retval = set_cpus_allowed(p, new_mask); | 106 | retval = set_cpus_allowed_ptr(p, &new_mask); |
107 | } | 107 | } |
108 | 108 | ||
109 | out_unlock: | 109 | out_unlock: |