diff options
-rw-r--r-- | arch/sh/mm/tlb-flush.c | 6 |
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) | |||
31 | saved_asid = get_asid(); | 31 | saved_asid = get_asid(); |
32 | set_asid(asid); | 32 | set_asid(asid); |
33 | } | 33 | } |
34 | flush_tlb_one(asid, page); | 34 | local_flush_tlb_one(asid, page); |
35 | if (saved_asid != MMU_NO_ASID) | 35 | if (saved_asid != MMU_NO_ASID) |
36 | set_asid(saved_asid); | 36 | set_asid(saved_asid); |
37 | local_irq_restore(flags); | 37 | local_irq_restore(flags); |
@@ -67,7 +67,7 @@ void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, | |||
67 | set_asid(asid); | 67 | set_asid(asid); |
68 | } | 68 | } |
69 | while (start < end) { | 69 | while (start < end) { |
70 | flush_tlb_one(asid, start); | 70 | local_flush_tlb_one(asid, start); |
71 | start += PAGE_SIZE; | 71 | start += PAGE_SIZE; |
72 | } | 72 | } |
73 | if (saved_asid != MMU_NO_ASID) | 73 | if (saved_asid != MMU_NO_ASID) |
@@ -97,7 +97,7 @@ void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) | |||
97 | end &= PAGE_MASK; | 97 | end &= PAGE_MASK; |
98 | set_asid(asid); | 98 | set_asid(asid); |
99 | while (start < end) { | 99 | while (start < end) { |
100 | flush_tlb_one(asid, start); | 100 | local_flush_tlb_one(asid, start); |
101 | start += PAGE_SIZE; | 101 | start += PAGE_SIZE; |
102 | } | 102 | } |
103 | set_asid(saved_asid); | 103 | set_asid(saved_asid); |