summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-25 11:37:56 +0100
committerPaul Mundt <lethal@linux-sh.org>2007-02-13 02:54:45 +0100
commit0072032d7babc4347556c1863919f3c532d9cf5b (patch)
treeeb8ab20103262257e380030d9066c71dea606a54 /arch/sh/mm
parentsh: Local TLB flushing variants for SMP prep. (diff)
downloadlinux-0072032d7babc4347556c1863919f3c532d9cf5b.tar.xz
linux-0072032d7babc4347556c1863919f3c532d9cf5b.zip
sh: Switch to local TLB flush variants in additional callsites.
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>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/tlb-flush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/tlb-flush.c b/arch/sh/mm/tlb-flush.c
index dcaf98e82be8..d2f7b4a2eb05 100644
--- a/arch/sh/mm/tlb-flush.c
+++ b/arch/sh/mm/tlb-flush.c
@@ -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);