X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Ftlb_64.c;h=8f919ca69494d62541453202b27f4ec13903d2f8;hb=8ec96e7bba2b8fa339b666354dffe3f47b9fa074;hp=dcbf7a1159eaf25713b83f6eaf83b1d9379a1fe7;hpb=8a0ca91e1db5de5eb5b18cfa919d52ff8be375af;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/kernel/tlb_64.c b/arch/x86/kernel/tlb_64.c index dcbf7a1159e..8f919ca6949 100644 --- a/arch/x86/kernel/tlb_64.c +++ b/arch/x86/kernel/tlb_64.c @@ -182,6 +182,11 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm, f->flush_va = va; cpus_or(f->flush_cpumask, cpumask, f->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.