| .. | .. |
|---|
| 31 | 31 | #include <asm/pgtable_types.h> |
|---|
| 32 | 32 | #ifdef CONFIG_X86_32 |
|---|
| 33 | 33 | #include <linux/threads.h> |
|---|
| 34 | | -#include <asm/kmap_size.h> |
|---|
| 34 | +#include <asm/kmap_types.h> |
|---|
| 35 | 35 | #else |
|---|
| 36 | 36 | #include <uapi/asm/vsyscall.h> |
|---|
| 37 | 37 | #endif |
|---|
| .. | .. |
|---|
| 94 | 94 | #endif |
|---|
| 95 | 95 | #ifdef CONFIG_X86_32 |
|---|
| 96 | 96 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
|---|
| 97 | | - FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1, |
|---|
| 97 | + FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
|---|
| 98 | 98 | #ifdef CONFIG_PCI_MMCONFIG |
|---|
| 99 | 99 | FIX_PCIE_MCFG, |
|---|
| 100 | 100 | #endif |
|---|
| .. | .. |
|---|
| 151 | 151 | |
|---|
| 152 | 152 | extern int fixmaps_set; |
|---|
| 153 | 153 | |
|---|
| 154 | +extern pte_t *kmap_pte; |
|---|
| 154 | 155 | extern pte_t *pkmap_page_table; |
|---|
| 155 | 156 | |
|---|
| 156 | 157 | void __native_set_fixmap(enum fixed_addresses idx, pte_t pte); |
|---|