summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tlb_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-12 15:43:39 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-12 15:43:39 +0100
commiteb42c75878e4d13941dcbcf2ef1027c257b099a6 (patch)
treef0fa257a00b4cac528b79724f59b076f30b1dd3d /arch/x86/kernel/tlb_32.c
parent9868ee63b896ee4d2ceb8c292e88d7f4e66caaf9 (diff)
parentf21f237cf55494c3a4209de323281a3b0528da10 (diff)
downloadblackbird-op-linux-eb42c75878e4d13941dcbcf2ef1027c257b099a6.tar.gz
blackbird-op-linux-eb42c75878e4d13941dcbcf2ef1027c257b099a6.zip
Merge branch 'linus' into x86/crashdump
Diffstat (limited to 'arch/x86/kernel/tlb_32.c')
-rw-r--r--arch/x86/kernel/tlb_32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/tlb_32.c b/arch/x86/kernel/tlb_32.c
index e00534b33534..f4049f3513b6 100644
--- a/arch/x86/kernel/tlb_32.c
+++ b/arch/x86/kernel/tlb_32.c
@@ -154,6 +154,12 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm,
flush_mm = mm;
flush_va = va;
cpus_or(flush_cpumask, cpumask, flush_cpumask);
+
+ /*
+ * Make the above memory operations globally visible before
+ * sending the IPI.
+ */
+ smp_mb();
/*
* We have to send the IPI only to
* CPUs affected.
OpenPOWER on IntegriCloud