diff options
Diffstat (limited to 'sys/powerpc/aim/mmu_oea.c')
-rw-r--r-- | sys/powerpc/aim/mmu_oea.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index c144a73..4b3f04c 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -743,7 +743,6 @@ void pmap_activate(struct thread *td) { pmap_t pm; - int i; /* * Load all the data we need up front to encourasge the compiler to @@ -754,21 +753,6 @@ pmap_activate(struct thread *td) KASSERT(pm->pm_active == 0, ("pmap_activate: pmap already active?")); pm->pm_active |= PCPU_GET(cpumask); - - /* - * XXX: Address this again later? - * NetBSD only change the segment registers on return to userland. - */ -#if 0 - critical_enter(); - - for (i = 0; i < 16; i++) { - __asm __volatile("mtsr %0,%1" :: "r"(i), "r"(pm->pm_sr[i])); - } - __asm __volatile("sync; isync"); - - critical_exit(); -#endif } void |