fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-ia64 / tlbflush.h
index 049c698..cf9acb9 100644 (file)
@@ -6,7 +6,6 @@
  *     David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
-#include <linux/config.h>
 
 #include <linux/mm.h>
 
@@ -48,22 +47,20 @@ local_finish_flush_tlb_mm (struct mm_struct *mm)
 static inline void
 flush_tlb_mm (struct mm_struct *mm)
 {
-       MMU_TRACE('F', smp_processor_id(), mm, mm->context);
        if (!mm)
-               goto out;
+               return;
 
+       set_bit(mm->context, ia64_ctx.flushmap);
        mm->context = 0;
 
        if (atomic_read(&mm->mm_users) == 0)
-               goto out;               /* happens as a result of exit_mmap() */
+               return;         /* happens as a result of exit_mmap() */
 
 #ifdef CONFIG_SMP
        smp_flush_tlb_mm(mm);
 #else
        local_finish_flush_tlb_mm(mm);
 #endif
-  out:
-       MMU_TRACE('f', smp_processor_id(), mm, mm->context);
 }
 
 extern void flush_tlb_range (struct vm_area_struct *vma, unsigned long start, unsigned long end);