| .. | .. |
|---|
| 13 | 13 | #include <linux/kernel.h> |
|---|
| 14 | 14 | #include <linux/threads.h> |
|---|
| 15 | 15 | #include <asm/page.h> |
|---|
| 16 | +#ifdef CONFIG_HIGHMEM |
|---|
| 17 | +#include <asm/kmap_types.h> |
|---|
| 18 | +#endif |
|---|
| 16 | 19 | |
|---|
| 17 | 20 | /* |
|---|
| 18 | 21 | * Here we define all the compile-time 'special' virtual |
|---|
| .. | .. |
|---|
| 50 | 53 | FIX_CMAP_BEGIN, |
|---|
| 51 | 54 | FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * NR_CPUS) - 1, |
|---|
| 52 | 55 | |
|---|
| 56 | +#ifdef CONFIG_HIGHMEM |
|---|
| 57 | + FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
|---|
| 58 | + FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1, |
|---|
| 59 | +#endif |
|---|
| 60 | + |
|---|
| 53 | 61 | #ifdef CONFIG_IOREMAP_FIXED |
|---|
| 54 | 62 | /* |
|---|
| 55 | 63 | * FIX_IOREMAP entries are useful for mapping physical address |
|---|