X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Ftlb_32.c;h=f4049f3513b6b5e01e71523a5490fbedd5db9992;hb=8ec96e7bba2b8fa339b666354dffe3f47b9fa074;hp=e00534b3353483dc67bc8282b839c5257a16ca72;hpb=93db628658197aa46bd7f83d429908b6f187ec9c;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/kernel/tlb_32.c b/arch/x86/kernel/tlb_32.c index e00534b3353..f4049f3513b 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.