From: Jesper Nilsson Date: Tue, 3 Aug 2010 16:58:29 +0000 (+0200) Subject: CRIS: Pagetable for ARTPEC-3 X-Git-Tag: v2.6.36-rc1~484^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2dc1c40c6e81ba406f2f6b00fe5eecb4c7cf1197;p=platform%2Fkernel%2Flinux-stable.git CRIS: Pagetable for ARTPEC-3 Signed-off-by: Jesper Nilsson --- diff --git a/arch/cris/include/arch-v32/arch/pgtable.h b/arch/cris/include/arch-v32/arch/pgtable.h index 08cb7ff..c1051a8 100644 --- a/arch/cris/include/arch-v32/arch/pgtable.h +++ b/arch/cris/include/arch-v32/arch/pgtable.h @@ -2,8 +2,16 @@ #define _ASM_CRIS_ARCH_PGTABLE_H /* Define the kernels virtual memory area. */ + +/* See head.S for differences between ARTPEC-3 and ETRAX FS. */ +#ifdef CONFIG_CRIS_MACH_ARTPEC3 +#define VMALLOC_START KSEG_E +#define VMALLOC_END KSEG_F +#else #define VMALLOC_START KSEG_D #define VMALLOC_END KSEG_E +#endif + #define VMALLOC_VMADDR(x) ((unsigned long)(x)) #endif /* _ASM_CRIS_ARCH_PGTABLE_H */