diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-10-27 05:19:02 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-11-06 00:11:45 -0500 |
commit | 5ea72a90261552ed5fdca35239feb6cba498301e (patch) | |
tree | c83f798813ae867ec10c35be6d2f9c3bc99609b5 /arch/arc/kernel | |
parent | 63eca94ca206e342bad4a06a86d8e7eda3053a4e (diff) |
ARC: [SMP] TLB flush
- Add mm_cpumask setting (aggregating only, unlike some other arches)
used to restrict the TLB flush cross-calling
- cross-calling versions of TLB flush routines (thanks to Noam)
Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index 7f0ab1ecd640..41bc4c703f42 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c | |||
@@ -128,6 +128,7 @@ void start_kernel_secondary(void) | |||
128 | atomic_inc(&mm->mm_users); | 128 | atomic_inc(&mm->mm_users); |
129 | atomic_inc(&mm->mm_count); | 129 | atomic_inc(&mm->mm_count); |
130 | current->active_mm = mm; | 130 | current->active_mm = mm; |
131 | cpumask_set_cpu(cpu, mm_cpumask(mm)); | ||
131 | 132 | ||
132 | notify_cpu_starting(cpu); | 133 | notify_cpu_starting(cpu); |
133 | set_cpu_online(cpu, true); | 134 | set_cpu_online(cpu, true); |