tracing: x86, mmiotrace: only register for die notifier when tracer active
[safe/jmp/linux-2.6] / arch / x86 / mm / tlb.c
index 6348e11..821e970 100644 (file)
@@ -14,7 +14,6 @@
 DEFINE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate)
                        = { &init_mm, 0, };
 
-#include <mach_ipi.h>
 /*
  *     Smarter SMP flushing macros.
  *             c/o Linus Torvalds.
@@ -188,11 +187,6 @@ static void flush_tlb_others_ipi(const struct cpumask *cpumask,
                       cpumask, cpumask_of(smp_processor_id()));
 
        /*
-        * Make the above memory operations globally visible before
-        * sending the IPI.
-        */
-       smp_mb();
-       /*
         * We have to send the IPI only to
         * CPUs affected.
         */