- update to 2.6.1-rc2 -- first cut.
[linux-flexiantxendom0-3.2.10.git] / include / asm-ppc64 / mmu_context.h
index e43cdf5..41b73ee 100644 (file)
@@ -6,7 +6,6 @@
 #include <linux/mm.h>  
 #include <asm/mmu.h>   
 #include <asm/ppcdebug.h>      
-#include <asm/cputable.h>
 
 /*
  * Copyright (C) 2001 PPC 64 Team, IBM Corp
@@ -140,16 +139,10 @@ extern void flush_stab(struct task_struct *tsk, struct mm_struct *mm);
  * switch_mm is the entry point called from the architecture independent
  * code in kernel/sched.c
  */
-static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
-                            struct task_struct *tsk)
+static inline void
+switch_mm(struct mm_struct *prev, struct mm_struct *next,
+         struct task_struct *tsk)
 {
-#ifdef CONFIG_ALTIVEC
-       asm volatile (
- BEGIN_FTR_SECTION
-       "dssall;\n"
- END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
-        : : );
-#endif /* CONFIG_ALTIVEC */
        flush_stab(tsk, next);
        cpu_set(smp_processor_id(), next->cpu_vm_mask);
 }