This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-ppc64 / mmu_context.h
index 03561b5..505ad13 100644 (file)
@@ -136,7 +136,7 @@ destroy_context(struct mm_struct *mm)
 }
 
 extern void flush_stab(struct task_struct *tsk, struct mm_struct *mm);
-extern void switch_slb(struct task_struct *tsk, struct mm_struct *mm);
+extern void flush_slb(struct task_struct *tsk, struct mm_struct *mm);
 
 /*
  * switch_mm is the entry point called from the architecture independent
@@ -161,7 +161,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
                return;
 
        if (cur_cpu_spec->cpu_features & CPU_FTR_SLB)
-               switch_slb(tsk, next);
+               flush_slb(tsk, next);
        else
                flush_stab(tsk, next);
 }
@@ -181,6 +181,10 @@ static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
        local_irq_restore(flags);
 }
 
+#define VSID_RANDOMIZER 42470972311UL
+#define VSID_MASK      0xfffffffffUL
+
+
 /* This is only valid for kernel (including vmalloc, imalloc and bolted) EA's
  */
 static inline unsigned long