summaryrefslogtreecommitdiffstats
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-16 01:07:24 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-16 01:07:24 +0000
commit95db6b748fc86297827fbd9c9ef174d491c9ad89 (patch)
tree27a92a942821cde1edda9a1b088718d436b3efe4 /mm/highmem.c
parent45b27b0a0652331d104c953a5b192d843fff88f8 (diff)
Merge with Linux 2.3.40.
Diffstat (limited to 'mm/highmem.c')
-rw-r--r--mm/highmem.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mm/highmem.c b/mm/highmem.c
index 5d42a4922..8b713b2ef 100644
--- a/mm/highmem.c
+++ b/mm/highmem.c
@@ -128,7 +128,7 @@ static void flush_all_zero_pkmaps(void)
flush_tlb_all();
}
-static unsigned long map_new_virtual(struct page *page)
+static inline unsigned long map_new_virtual(struct page *page)
{
unsigned long vaddr;
int count;
@@ -170,12 +170,6 @@ start:
}
vaddr = PKMAP_ADDR(last_pkmap_nr);
pkmap_page_table[last_pkmap_nr] = mk_pte(page, kmap_prot);
- /*
- * Subtle! For some reason if we dont do this TLB flush then
- * we get data corruption and weird behavior in dbench runs.
- * But invlpg this should not be necessery ... Any ideas?
- */
- __flush_tlb_one(vaddr);
pkmap_count[last_pkmap_nr] = 1;
page->virtual = vaddr;