X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Ftlb_64.c;h=8f919ca69494d62541453202b27f4ec13903d2f8;hb=d6f0f39b7d05e62b347c4352d070e4afb3ade4b5;hp=dcbf7a1159eaf25713b83f6eaf83b1d9379a1fe7;hpb=7db282fa67b58daff8a57f9e1c93d4474b5908ff;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.