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/traps.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/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 33984c04b60b..b05b9462c728 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1121,13 +1121,13 @@ static void mt_ase_fp_affinity(void) | |||
1121 | * restricted the allowed set to exclude any CPUs with FPUs, | 1121 | * restricted the allowed set to exclude any CPUs with FPUs, |
1122 | * we'll skip the procedure. | 1122 | * we'll skip the procedure. |
1123 | */ | 1123 | */ |
1124 | if (cpus_intersects(current->cpus_allowed, mt_fpu_cpumask)) { | 1124 | if (cpumask_intersects(¤t->cpus_allowed, &mt_fpu_cpumask)) { |
1125 | cpumask_t tmask; | 1125 | cpumask_t tmask; |
1126 | 1126 | ||
1127 | current->thread.user_cpus_allowed | 1127 | current->thread.user_cpus_allowed |
1128 | = current->cpus_allowed; | 1128 | = current->cpus_allowed; |
1129 | cpus_and(tmask, current->cpus_allowed, | 1129 | cpumask_and(&tmask, ¤t->cpus_allowed, |
1130 | mt_fpu_cpumask); | 1130 | &mt_fpu_cpumask); |
1131 | set_cpus_allowed_ptr(current, &tmask); | 1131 | set_cpus_allowed_ptr(current, &tmask); |
1132 | set_thread_flag(TIF_FPUBOUND); | 1132 | set_thread_flag(TIF_FPUBOUND); |
1133 | } | 1133 | } |