diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-14 08:16:11 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-14 08:16:11 +0200 |
commit | e45af0e083dfc5d49dbad6965b9eeb3ac0072d82 (patch) | |
tree | e0770908dea536c2d0ee2fe4e57dc2a219532ad2 /arch/sh/include/asm/fixmap.h | |
parent | sh: Ensure fixmap and store queue space can co-exist. (diff) | |
download | linux-e45af0e083dfc5d49dbad6965b9eeb3ac0072d82.tar.xz linux-e45af0e083dfc5d49dbad6965b9eeb3ac0072d82.zip |
sh64: Kill off unused fixed I/O mapping window.
This was reworked some time ago to go through fixmaps instead, leaving
the range itself unused. As such, kill off the remaining references and
hand over the remaining space for fixmaps directly. This also makes it
possible to simplify the vmalloc fault case as we no longer have to care
about the special section.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/fixmap.h')
-rw-r--r-- | arch/sh/include/asm/fixmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/fixmap.h b/arch/sh/include/asm/fixmap.h index 5f1ca55bcec8..41cda1264bb0 100644 --- a/arch/sh/include/asm/fixmap.h +++ b/arch/sh/include/asm/fixmap.h @@ -96,7 +96,7 @@ extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags); #ifdef CONFIG_SUPERH32 #define FIXADDR_TOP (P3_ADDR_MAX - PAGE_SIZE) #else -#define FIXADDR_TOP (0xff000000 - PAGE_SIZE) +#define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE)) #endif #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) |