sparc: tsb must be flushed before tlb
[pandora-kernel.git] / arch / sparc / mm / tlb.c
index afd021e..072f553 100644 (file)
@@ -115,8 +115,8 @@ no_cache_flush:
        }
 
        if (!tb->active) {
-               global_flush_tlb_page(mm, vaddr);
                flush_tsb_user_page(mm, vaddr);
+               global_flush_tlb_page(mm, vaddr);
                goto out;
        }