diff options
Diffstat (limited to 'arch/mips/kernel/smp-bmips.c')
-rw-r--r-- | arch/mips/kernel/smp-bmips.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/smp-bmips.c b/arch/mips/kernel/smp-bmips.c index 58fe71afd879..3046e2986006 100644 --- a/arch/mips/kernel/smp-bmips.c +++ b/arch/mips/kernel/smp-bmips.c | |||
@@ -8,7 +8,6 @@ | |||
8 | * SMP support for BMIPS | 8 | * SMP support for BMIPS |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/version.h> | ||
12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
13 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
14 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
@@ -29,7 +28,6 @@ | |||
29 | #include <asm/time.h> | 28 | #include <asm/time.h> |
30 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
31 | #include <asm/processor.h> | 30 | #include <asm/processor.h> |
32 | #include <asm/system.h> | ||
33 | #include <asm/bootinfo.h> | 31 | #include <asm/bootinfo.h> |
34 | #include <asm/pmon.h> | 32 | #include <asm/pmon.h> |
35 | #include <asm/cacheflush.h> | 33 | #include <asm/cacheflush.h> |
@@ -319,7 +317,7 @@ static int bmips_cpu_disable(void) | |||
319 | 317 | ||
320 | pr_info("SMP: CPU%d is offline\n", cpu); | 318 | pr_info("SMP: CPU%d is offline\n", cpu); |
321 | 319 | ||
322 | cpu_clear(cpu, cpu_online_map); | 320 | set_cpu_online(cpu, false); |
323 | cpu_clear(cpu, cpu_callin_map); | 321 | cpu_clear(cpu, cpu_callin_map); |
324 | 322 | ||
325 | local_flush_tlb_all(); | 323 | local_flush_tlb_all(); |