m68k: mm: Remove stray nocache in ColdFire pgalloc
Since ColdFire V4e is a software TLB-miss architecture, there is no need for page-tables to be mapped uncached. Remove this stray nocache_page() dance, which isn't paired with a cache_page() and looks like a copy/paste/edit fail. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Will Deacon <will@kernel.org> Acked-by: Greg Ungerer <gerg@linux-m68k.org> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Tested-by: Greg Ungerer <gerg@linux-m68k.org> Link: https://lore.kernel.org/r/20200131125403.481739981@infradead.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
Родитель
bb6d3fb354
Коммит
43f0f97dd6
|
@ -55,12 +55,8 @@ static inline struct page *pte_alloc_one(struct mm_struct *mm)
|
|||
}
|
||||
|
||||
pte = kmap(page);
|
||||
if (pte) {
|
||||
if (pte)
|
||||
clear_page(pte);
|
||||
__flush_page_to_ram(pte);
|
||||
flush_tlb_kernel_page(pte);
|
||||
nocache_page(pte);
|
||||
}
|
||||
kunmap(page);
|
||||
|
||||
return page;
|
||||
|
|
Загрузка…
Ссылка в новой задаче