GNU Linux-libre 4.14.313-gnu1
[releases.git] / arch / cris / include / arch-v32 / arch / pgtable.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_ARCH_PGTABLE_H
3 #define _ASM_CRIS_ARCH_PGTABLE_H
4
5 /* Define the kernels virtual memory area. */
6
7 /* See head.S for differences between ARTPEC-3 and ETRAX FS. */
8 #ifdef CONFIG_CRIS_MACH_ARTPEC3
9 #define VMALLOC_START          KSEG_E
10 #define VMALLOC_END            KSEG_F
11 #else
12 #define VMALLOC_START           KSEG_D
13 #define VMALLOC_END             KSEG_E
14 #endif
15
16 #define VMALLOC_VMADDR(x)       ((unsigned long)(x))
17
18 #endif /* _ASM_CRIS_ARCH_PGTABLE_H */