summaryrefslogtreecommitdiffstats
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 18:54:49 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 18:54:49 +0000
commit5514f4babeeb3af00ee0c325e3cda7a562cc3d65 (patch)
treeedd733879cab73e41324a99ca5da7bc154c4196d /mm/highmem.c
parent6a9366db547e958e8c9bf8e1c13bcea6cb2bf393 (diff)
Merge with Linux 2.4.0-test6-pre4.
Diffstat (limited to 'mm/highmem.c')
-rw-r--r--mm/highmem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/highmem.c b/mm/highmem.c
index 834968569..e11b5d0b1 100644
--- a/mm/highmem.c
+++ b/mm/highmem.c
@@ -118,6 +118,8 @@ static void flush_all_zero_pkmaps(void)
{
int i;
+ flush_cache_all();
+
for (i = 0; i < LAST_PKMAP; i++) {
struct page *page;
pte_t pte;
@@ -181,7 +183,7 @@ start:
}
}
vaddr = PKMAP_ADDR(last_pkmap_nr);
- pkmap_page_table[last_pkmap_nr] = mk_pte(page, kmap_prot);
+ set_pte(pkmap_page_table + last_pkmap_nr, mk_pte(page, kmap_prot));
pkmap_count[last_pkmap_nr] = 1;
page->virtual = vaddr;