hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/sparc/include/asm/highmem.h
....@@ -24,6 +24,7 @@
2424 #include <linux/interrupt.h>
2525 #include <linux/pgtable.h>
2626 #include <asm/vaddrs.h>
27
+#include <asm/kmap_types.h>
2728 #include <asm/pgtsrmmu.h>
2829
2930 /* declarations for highmem.c */
....@@ -31,6 +32,8 @@
3132
3233 #define kmap_prot __pgprot(SRMMU_ET_PTE | SRMMU_PRIV | SRMMU_CACHE)
3334 extern pte_t *pkmap_page_table;
35
+
36
+void kmap_init(void) __init;
3437
3538 /*
3639 * Right now we initialize only a single pte table. It can be extended
....@@ -49,11 +52,6 @@
4952 #define PKMAP_END (PKMAP_ADDR(LAST_PKMAP))
5053
5154 #define flush_cache_kmaps() flush_cache_all()
52
-
53
-/* FIXME: Use __flush_tlb_one(vaddr) instead of flush_cache_all() -- Anton */
54
-#define arch_kmap_local_post_map(vaddr, pteval) flush_cache_all()
55
-#define arch_kmap_local_post_unmap(vaddr) flush_cache_all()
56
-
5755
5856 #endif /* __KERNEL__ */
5957