Commit 1182b69c authored by Chris Metcalf's avatar Chris Metcalf

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: default avatarChris Metcalf <cmetcalf@tilera.com>
parent a0bd12d7
...@@ -122,10 +122,9 @@ static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) ...@@ -122,10 +122,9 @@ static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
pmd_k = pmd_offset(pud_k, address); pmd_k = pmd_offset(pud_k, address);
if (!pmd_present(*pmd_k)) if (!pmd_present(*pmd_k))
return NULL; return NULL;
if (!pmd_present(*pmd)) { if (!pmd_present(*pmd))
set_pmd(pmd, *pmd_k); set_pmd(pmd, *pmd_k);
arch_flush_lazy_mmu_mode(); else
} else
BUG_ON(pmd_ptfn(*pmd) != pmd_ptfn(*pmd_k)); BUG_ON(pmd_ptfn(*pmd) != pmd_ptfn(*pmd_k));
return pmd_k; return pmd_k;
} }
......
...@@ -114,7 +114,6 @@ static void kmap_atomic_register(struct page *page, int type, ...@@ -114,7 +114,6 @@ static void kmap_atomic_register(struct page *page, int type,
list_add(&amp->list, &amp_list); list_add(&amp->list, &amp_list);
set_pte(ptep, pteval); set_pte(ptep, pteval);
arch_flush_lazy_mmu_mode();
spin_unlock(&amp_lock); spin_unlock(&amp_lock);
homecache_kpte_unlock(flags); homecache_kpte_unlock(flags);
...@@ -259,7 +258,6 @@ void __kunmap_atomic(void *kvaddr) ...@@ -259,7 +258,6 @@ void __kunmap_atomic(void *kvaddr)
BUG_ON(vaddr >= (unsigned long)high_memory); BUG_ON(vaddr >= (unsigned long)high_memory);
} }
arch_flush_lazy_mmu_mode();
pagefault_enable(); pagefault_enable();
} }
EXPORT_SYMBOL(__kunmap_atomic); EXPORT_SYMBOL(__kunmap_atomic);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment