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/smp-bmips.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/smp-bmips.c')
-rw-r--r-- | arch/mips/kernel/smp-bmips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp-bmips.c b/arch/mips/kernel/smp-bmips.c index b8bd9340c9c7..fd528d7ea278 100644 --- a/arch/mips/kernel/smp-bmips.c +++ b/arch/mips/kernel/smp-bmips.c | |||
@@ -362,7 +362,7 @@ static int bmips_cpu_disable(void) | |||
362 | pr_info("SMP: CPU%d is offline\n", cpu); | 362 | pr_info("SMP: CPU%d is offline\n", cpu); |
363 | 363 | ||
364 | set_cpu_online(cpu, false); | 364 | set_cpu_online(cpu, false); |
365 | cpu_clear(cpu, cpu_callin_map); | 365 | cpumask_clear_cpu(cpu, &cpu_callin_map); |
366 | clear_c0_status(IE_IRQ5); | 366 | clear_c0_status(IE_IRQ5); |
367 | 367 | ||
368 | local_flush_tlb_all(); | 368 | local_flush_tlb_all(); |