diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-04 19:19:17 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-04 23:55:06 -0500 |
commit | 8dd928915a73bf95a727a46037964243eb1e042c (patch) | |
tree | 7be1a28772bac74533f3da27ffd41e048c76b8e4 /arch/mips/kernel/mips-mt-fpaff.c | |
parent | d089f8e97d371a662dd233491e03bda377c9d46d (diff) |
mips: fix up obsolete cpu function usage.
Thanks to spatch, plus manual removal of "&*". Then a sweep for
for_each_cpu_mask => for_each_cpu.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
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 362bb3707e62..3e4491aa6d6b 100644 --- a/arch/mips/kernel/mips-mt-fpaff.c +++ b/arch/mips/kernel/mips-mt-fpaff.c | |||
@@ -114,8 +114,8 @@ asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, | |||
114 | /* Compute new global allowed CPU set if necessary */ | 114 | /* Compute new global allowed CPU set if necessary */ |
115 | ti = task_thread_info(p); | 115 | ti = task_thread_info(p); |
116 | if (test_ti_thread_flag(ti, TIF_FPUBOUND) && | 116 | if (test_ti_thread_flag(ti, TIF_FPUBOUND) && |
117 | cpus_intersects(*new_mask, mt_fpu_cpumask)) { | 117 | cpumask_intersects(new_mask, &mt_fpu_cpumask)) { |
118 | cpus_and(*effective_mask, *new_mask, mt_fpu_cpumask); | 118 | cpumask_and(effective_mask, new_mask, &mt_fpu_cpumask); |
119 | retval = set_cpus_allowed_ptr(p, effective_mask); | 119 | retval = set_cpus_allowed_ptr(p, effective_mask); |
120 | } else { | 120 | } else { |
121 | cpumask_copy(effective_mask, new_mask); | 121 | cpumask_copy(effective_mask, new_mask); |