| .. | .. |
|---|
| 9 | 9 | #include <linux/init.h> |
|---|
| 10 | 10 | #include <linux/interrupt.h> |
|---|
| 11 | 11 | #include <linux/uaccess.h> |
|---|
| 12 | | -#include <asm/kmap_size.h> |
|---|
| 12 | +#include <asm/kmap_types.h> |
|---|
| 13 | 13 | #include <asm/cache.h> |
|---|
| 14 | 14 | |
|---|
| 15 | 15 | /* undef for production */ |
|---|
| .. | .. |
|---|
| 32 | 32 | |
|---|
| 33 | 33 | #define ARCH_HAS_KMAP_FLUSH_TLB |
|---|
| 34 | 34 | extern void kmap_flush_tlb(unsigned long addr); |
|---|
| 35 | +extern void *kmap_atomic_pfn(unsigned long pfn); |
|---|
| 35 | 36 | |
|---|
| 36 | 37 | #define flush_cache_kmaps() do {} while (0) |
|---|
| 37 | | - |
|---|
| 38 | | -#define arch_kmap_local_post_map(vaddr, pteval) kmap_flush_tlb(vaddr) |
|---|
| 39 | | -#define arch_kmap_local_post_unmap(vaddr) kmap_flush_tlb(vaddr) |
|---|
| 40 | 38 | |
|---|
| 41 | 39 | extern void kmap_init(void); |
|---|
| 42 | 40 | |
|---|