.. | .. |
---|
24 | 24 | #ifdef __KERNEL__ |
---|
25 | 25 | |
---|
26 | 26 | #include <linux/interrupt.h> |
---|
| 27 | +#include <asm/kmap_types.h> |
---|
27 | 28 | #include <asm/cacheflush.h> |
---|
28 | 29 | #include <asm/page.h> |
---|
29 | 30 | #include <asm/fixmap.h> |
---|
30 | 31 | |
---|
| 32 | +extern pte_t *kmap_pte; |
---|
31 | 33 | extern pte_t *pkmap_page_table; |
---|
32 | 34 | |
---|
33 | 35 | /* |
---|
.. | .. |
---|
57 | 59 | #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) |
---|
58 | 60 | |
---|
59 | 61 | #define flush_cache_kmaps() flush_cache_all() |
---|
60 | | - |
---|
61 | | -#define arch_kmap_local_post_map(vaddr, pteval) \ |
---|
62 | | - local_flush_tlb_page(NULL, vaddr) |
---|
63 | | -#define arch_kmap_local_post_unmap(vaddr) \ |
---|
64 | | - local_flush_tlb_page(NULL, vaddr) |
---|
65 | 62 | |
---|
66 | 63 | #endif /* __KERNEL__ */ |
---|
67 | 64 | |
---|