diff options
Diffstat (limited to 'include/asm-um/fixmap.h')
-rw-r--r-- | include/asm-um/fixmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-um/fixmap.h b/include/asm-um/fixmap.h index 3d3e85d30ac2..89a87c18b927 100644 --- a/include/asm-um/fixmap.h +++ b/include/asm-um/fixmap.h | |||
@@ -56,9 +56,8 @@ extern void __set_fixmap (enum fixed_addresses idx, | |||
56 | * the start of the fixmap, and leave one page empty | 56 | * the start of the fixmap, and leave one page empty |
57 | * at the top of mem.. | 57 | * at the top of mem.. |
58 | */ | 58 | */ |
59 | extern unsigned long get_kmem_end(void); | ||
60 | 59 | ||
61 | #define FIXADDR_TOP (get_kmem_end() - 0x2000) | 60 | #define FIXADDR_TOP (CONFIG_TOP_ADDR - 2 * PAGE_SIZE) |
62 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | 61 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) |
63 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | 62 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) |
64 | 63 | ||