aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-07 11:07:52 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-13 16:25:56 -0400
commit1182b69cb24c4f7d7ee8c8afe41b5ab2bc05a15b (patch)
tree7a3fb2146113a2888fafabc0ddd30bfe6047d1e4 /arch/tile
parenta0bd12d718b6f9a19f95bf892021cff9438044c4 (diff)
tile: remove calls to arch_flush_lazy_mmu_mode()
Since it's a no-op on tile anyway, there's no reason to be calling it in tile-specific code. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/mm/fault.c5
-rw-r--r--arch/tile/mm/highmem.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c
index 7863298dad4d..502664ae1e6e 100644
--- a/arch/tile/mm/fault.c
+++ b/arch/tile/mm/fault.c
@@ -122,10 +122,9 @@ static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
122 pmd_k = pmd_offset(pud_k, address); 122 pmd_k = pmd_offset(pud_k, address);
123 if (!pmd_present(*pmd_k)) 123 if (!pmd_present(*pmd_k))
124 return NULL; 124 return NULL;
125 if (!pmd_present(*pmd)) { 125 if (!pmd_present(*pmd))
126 set_pmd(pmd, *pmd_k); 126 set_pmd(pmd, *pmd_k);
127 arch_flush_lazy_mmu_mode(); 127 else
128 } else
129 BUG_ON(pmd_ptfn(*pmd) != pmd_ptfn(*pmd_k)); 128 BUG_ON(pmd_ptfn(*pmd) != pmd_ptfn(*pmd_k));
130 return pmd_k; 129 return pmd_k;
131} 130}
diff --git a/arch/tile/mm/highmem.c b/arch/tile/mm/highmem.c
index 347d123b14be..0dc218294770 100644
--- a/arch/tile/mm/highmem.c
+++ b/arch/tile/mm/highmem.c
@@ -114,7 +114,6 @@ static void kmap_atomic_register(struct page *page, int type,
114 114
115 list_add(&amp->list, &amp_list); 115 list_add(&amp->list, &amp_list);
116 set_pte(ptep, pteval); 116 set_pte(ptep, pteval);
117 arch_flush_lazy_mmu_mode();
118 117
119 spin_unlock(&amp_lock); 118 spin_unlock(&amp_lock);
120 homecache_kpte_unlock(flags); 119 homecache_kpte_unlock(flags);
@@ -259,7 +258,6 @@ void __kunmap_atomic(void *kvaddr)
259 BUG_ON(vaddr >= (unsigned long)high_memory); 258 BUG_ON(vaddr >= (unsigned long)high_memory);
260 } 259 }
261 260
262 arch_flush_lazy_mmu_mode();
263 pagefault_enable(); 261 pagefault_enable();
264} 262}
265EXPORT_SYMBOL(__kunmap_atomic); 263EXPORT_SYMBOL(__kunmap_atomic);