diff options
author | Michal Simek <monstr@monstr.eu> | 2011-12-15 18:02:37 +0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-23 12:28:13 +0400 |
commit | 2f2f371f8907d169650f594850ca6096e2f73b77 (patch) | |
tree | 053824b8bd18fdd71119510be569fa0ff7ec0c29 /arch/microblaze/include/asm/fixmap.h | |
parent | baab8a828d2d6b5b073c192ebe777514bbf3c831 (diff) | |
download | linux-2f2f371f8907d169650f594850ca6096e2f73b77.tar.xz |
microblaze: Highmem support
The first highmem implementation.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/fixmap.h')
-rw-r--r-- | arch/microblaze/include/asm/fixmap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/fixmap.h b/arch/microblaze/include/asm/fixmap.h index dd89754f0a8d..f2b312e10b10 100644 --- a/arch/microblaze/include/asm/fixmap.h +++ b/arch/microblaze/include/asm/fixmap.h @@ -21,6 +21,10 @@ #ifndef __ASSEMBLY__ #include <linux/kernel.h> #include <asm/page.h> +#ifdef CONFIG_HIGHMEM +#include <linux/threads.h> +#include <asm/kmap_types.h> +#endif #define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE)) @@ -44,6 +48,10 @@ */ enum fixed_addresses { FIX_HOLE, +#ifdef CONFIG_HIGHMEM + FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ + FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * num_possible_cpus()) - 1, +#endif __end_of_fixed_addresses }; |