| .. | .. |
|---|
| 24 | 24 | #include <linux/interrupt.h> |
|---|
| 25 | 25 | #include <linux/pgtable.h> |
|---|
| 26 | 26 | #include <asm/vaddrs.h> |
|---|
| 27 | +#include <asm/kmap_types.h> |
|---|
| 27 | 28 | #include <asm/pgtsrmmu.h> |
|---|
| 28 | 29 | |
|---|
| 29 | 30 | /* declarations for highmem.c */ |
|---|
| .. | .. |
|---|
| 31 | 32 | |
|---|
| 32 | 33 | #define kmap_prot __pgprot(SRMMU_ET_PTE | SRMMU_PRIV | SRMMU_CACHE) |
|---|
| 33 | 34 | extern pte_t *pkmap_page_table; |
|---|
| 35 | + |
|---|
| 36 | +void kmap_init(void) __init; |
|---|
| 34 | 37 | |
|---|
| 35 | 38 | /* |
|---|
| 36 | 39 | * Right now we initialize only a single pte table. It can be extended |
|---|
| .. | .. |
|---|
| 49 | 52 | #define PKMAP_END (PKMAP_ADDR(LAST_PKMAP)) |
|---|
| 50 | 53 | |
|---|
| 51 | 54 | #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 | | - |
|---|
| 57 | 55 | |
|---|
| 58 | 56 | #endif /* __KERNEL__ */ |
|---|
| 59 | 57 | |
|---|