]> err.no Git - linux-2.6/commitdiff
sh: Switch to local TLB flush variants in additional callsites.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 25 Dec 2006 10:37:56 +0000 (19:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Feb 2007 01:54:45 +0000 (10:54 +0900)
Convert some of the global flush users over to using the local variants
that don't need to use the global routines.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/tlb-flush.c

index dcaf98e82be8da066171579529a80d3ab746489f..d2f7b4a2eb05356339a0599638c935c08fd9d0fd 100644 (file)
@@ -31,7 +31,7 @@ void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
                        saved_asid = get_asid();
                        set_asid(asid);
                }
-               flush_tlb_one(asid, page);
+               local_flush_tlb_one(asid, page);
                if (saved_asid != MMU_NO_ASID)
                        set_asid(saved_asid);
                local_irq_restore(flags);
@@ -67,7 +67,7 @@ void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
                                set_asid(asid);
                        }
                        while (start < end) {
-                               flush_tlb_one(asid, start);
+                               local_flush_tlb_one(asid, start);
                                start += PAGE_SIZE;
                        }
                        if (saved_asid != MMU_NO_ASID)
@@ -97,7 +97,7 @@ void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
                end &= PAGE_MASK;
                set_asid(asid);
                while (start < end) {
-                       flush_tlb_one(asid, start);
+                       local_flush_tlb_one(asid, start);
                        start += PAGE_SIZE;
                }
                set_asid(saved_asid);