aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/mm
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-13 14:00:36 -0400
committerIngo Molnar <mingo@kernel.org>2014-04-18 08:20:39 -0400
commit9424cdf0fc7f768f20daef77980da9617a76679b (patch)
treec26fb8f5ca7f71d8751f589b8bb333bfbc0b0557 /arch/mn10300/mm
parent91bbefe6b0fcd2968c34a5a566bda870477afc82 (diff)
arch,mn10300: Convert smp_mb__*()
mn10300 fully relies on asm-generic/barrier.h and therefore its smp_mb() is barrier(). We can use the default implementation. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Link: http://lkml.kernel.org/n/tip-wotyeoj99h1dpojjeest2jbk@git.kernel.org Cc: David Howells <dhowells@redhat.com> Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-am33-list@redhat.com Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mn10300/mm')
-rw-r--r--arch/mn10300/mm/tlb-smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/mm/tlb-smp.c b/arch/mn10300/mm/tlb-smp.c
index 3e57faf04083..e5d0ef722bfa 100644
--- a/arch/mn10300/mm/tlb-smp.c
+++ b/arch/mn10300/mm/tlb-smp.c
@@ -78,9 +78,9 @@ void smp_flush_tlb(void *unused)
78 else 78 else
79 local_flush_tlb_page(flush_mm, flush_va); 79 local_flush_tlb_page(flush_mm, flush_va);
80 80
81 smp_mb__before_clear_bit(); 81 smp_mb__before_atomic();
82 cpumask_clear_cpu(cpu_id, &flush_cpumask); 82 cpumask_clear_cpu(cpu_id, &flush_cpumask);
83 smp_mb__after_clear_bit(); 83 smp_mb__after_atomic();
84out: 84out:
85 put_cpu(); 85 put_cpu();
86} 86}