diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2010-08-03 12:58:29 -0400 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2010-08-04 07:02:35 -0400 |
commit | 2dc1c40c6e81ba406f2f6b00fe5eecb4c7cf1197 (patch) | |
tree | 71ba36e9980eb7d3edf9980b69fce82a24f93b52 | |
parent | 32e7a8ba8d435d03752be818a82748c5e3eadc36 (diff) |
CRIS: Pagetable for ARTPEC-3
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
-rw-r--r-- | arch/cris/include/arch-v32/arch/pgtable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/cris/include/arch-v32/arch/pgtable.h b/arch/cris/include/arch-v32/arch/pgtable.h index 08cb7ff7e4e7..c1051a8da33d 100644 --- a/arch/cris/include/arch-v32/arch/pgtable.h +++ b/arch/cris/include/arch-v32/arch/pgtable.h | |||
@@ -2,8 +2,16 @@ | |||
2 | #define _ASM_CRIS_ARCH_PGTABLE_H | 2 | #define _ASM_CRIS_ARCH_PGTABLE_H |
3 | 3 | ||
4 | /* Define the kernels virtual memory area. */ | 4 | /* Define the kernels virtual memory area. */ |
5 | |||
6 | /* See head.S for differences between ARTPEC-3 and ETRAX FS. */ | ||
7 | #ifdef CONFIG_CRIS_MACH_ARTPEC3 | ||
8 | #define VMALLOC_START KSEG_E | ||
9 | #define VMALLOC_END KSEG_F | ||
10 | #else | ||
5 | #define VMALLOC_START KSEG_D | 11 | #define VMALLOC_START KSEG_D |
6 | #define VMALLOC_END KSEG_E | 12 | #define VMALLOC_END KSEG_E |
13 | #endif | ||
14 | |||
7 | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) | 15 | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) |
8 | 16 | ||
9 | #endif /* _ASM_CRIS_ARCH_PGTABLE_H */ | 17 | #endif /* _ASM_CRIS_ARCH_PGTABLE_H */ |