diff options
Diffstat (limited to 'include/asm-sh/fixmap.h')
-rw-r--r-- | include/asm-sh/fixmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/fixmap.h b/include/asm-sh/fixmap.h index 8a566177ad96..721fcc4d5e98 100644 --- a/include/asm-sh/fixmap.h +++ b/include/asm-sh/fixmap.h | |||
@@ -49,6 +49,7 @@ enum fixed_addresses { | |||
49 | #define FIX_N_COLOURS 16 | 49 | #define FIX_N_COLOURS 16 |
50 | FIX_CMAP_BEGIN, | 50 | FIX_CMAP_BEGIN, |
51 | FIX_CMAP_END = FIX_CMAP_BEGIN + FIX_N_COLOURS, | 51 | FIX_CMAP_END = FIX_CMAP_BEGIN + FIX_N_COLOURS, |
52 | FIX_UNCACHED, | ||
52 | #ifdef CONFIG_HIGHMEM | 53 | #ifdef CONFIG_HIGHMEM |
53 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | 54 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
54 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | 55 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
@@ -73,7 +74,11 @@ extern void __set_fixmap(enum fixed_addresses idx, | |||
73 | * the start of the fixmap, and leave one page empty | 74 | * the start of the fixmap, and leave one page empty |
74 | * at the top of mem.. | 75 | * at the top of mem.. |
75 | */ | 76 | */ |
77 | #ifdef CONFIG_SUPERH32 | ||
76 | #define FIXADDR_TOP (P4SEG - PAGE_SIZE) | 78 | #define FIXADDR_TOP (P4SEG - PAGE_SIZE) |
79 | #else | ||
80 | #define FIXADDR_TOP (0xff000000 - PAGE_SIZE) | ||
81 | #endif | ||
77 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | 82 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) |
78 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | 83 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) |
79 | 84 | ||