mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
a0bd12d718
commit
1182b69cb2
2 changed files with 2 additions and 5 deletions
|
@ -122,10 +122,9 @@ static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
|
|||
pmd_k = pmd_offset(pud_k, address);
|
||||
if (!pmd_present(*pmd_k))
|
||||
return NULL;
|
||||
if (!pmd_present(*pmd)) {
|
||||
if (!pmd_present(*pmd))
|
||||
set_pmd(pmd, *pmd_k);
|
||||
arch_flush_lazy_mmu_mode();
|
||||
} else
|
||||
else
|
||||
BUG_ON(pmd_ptfn(*pmd) != pmd_ptfn(*pmd_k));
|
||||
return pmd_k;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue