diff options
Diffstat (limited to 'include/asm-sh/fixmap.h')
-rw-r--r-- | include/asm-sh/fixmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sh/fixmap.h b/include/asm-sh/fixmap.h index 8a566177ad96..09463cd9bbb9 100644 --- a/include/asm-sh/fixmap.h +++ b/include/asm-sh/fixmap.h | |||
@@ -73,7 +73,11 @@ extern void __set_fixmap(enum fixed_addresses idx, | |||
73 | * the start of the fixmap, and leave one page empty | 73 | * the start of the fixmap, and leave one page empty |
74 | * at the top of mem.. | 74 | * at the top of mem.. |
75 | */ | 75 | */ |
76 | #ifdef CONFIG_SUPERH32 | ||
76 | #define FIXADDR_TOP (P4SEG - PAGE_SIZE) | 77 | #define FIXADDR_TOP (P4SEG - PAGE_SIZE) |
78 | #else | ||
79 | #define FIXADDR_TOP (0xff000000 - PAGE_SIZE) | ||
80 | #endif | ||
77 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | 81 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) |
78 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | 82 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) |
79 | 83 | ||