.. | .. |
---|
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 | #ifdef CONFIG_PPC64 |
---|
.. | .. |
---|
61 | 61 | FIX_EARLY_DEBUG_BASE = FIX_EARLY_DEBUG_TOP+(ALIGN(SZ_128K, PAGE_SIZE)/PAGE_SIZE)-1, |
---|
62 | 62 | #ifdef CONFIG_HIGHMEM |
---|
63 | 63 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
---|
64 | | - FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1, |
---|
| 64 | + FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
---|
65 | 65 | #endif |
---|
66 | 66 | #ifdef CONFIG_PPC_8xx |
---|
67 | 67 | /* For IMMR we need an aligned 512K area */ |
---|