1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_ARCH_PGTABLE_H
3 #define _ASM_CRIS_ARCH_PGTABLE_H
5 /* Define the kernels virtual memory area. */
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
12 #define VMALLOC_START KSEG_D
13 #define VMALLOC_END KSEG_E
16 #define VMALLOC_VMADDR(x) ((unsigned long)(x))
18 #endif /* _ASM_CRIS_ARCH_PGTABLE_H */