| .. | .. |
|---|
| 20 | 20 | #include <asm/page.h> |
|---|
| 21 | 21 | #ifdef CONFIG_HIGHMEM |
|---|
| 22 | 22 | #include <linux/threads.h> |
|---|
| 23 | | -#include <asm/kmap_size.h> |
|---|
| 23 | +#include <asm/kmap_types.h> |
|---|
| 24 | 24 | #endif |
|---|
| 25 | 25 | |
|---|
| 26 | 26 | #define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE)) |
|---|
| .. | .. |
|---|
| 47 | 47 | FIX_HOLE, |
|---|
| 48 | 48 | #ifdef CONFIG_HIGHMEM |
|---|
| 49 | 49 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
|---|
| 50 | | - FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * num_possible_cpus()) - 1, |
|---|
| 50 | + FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * num_possible_cpus()) - 1, |
|---|
| 51 | 51 | #endif |
|---|
| 52 | 52 | __end_of_fixed_addresses |
|---|
| 53 | 53 | }; |
|---|