]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
51533b61 MS |
2 | #ifndef _ASM_CRIS_ARCH_PGTABLE_H |
3 | #define _ASM_CRIS_ARCH_PGTABLE_H | |
4 | ||
5 | /* Define the kernels virtual memory area. */ | |
2dc1c40c JN |
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 | |
51533b61 MS |
12 | #define VMALLOC_START KSEG_D |
13 | #define VMALLOC_END KSEG_E | |
2dc1c40c JN |
14 | #endif |
15 | ||
51533b61 MS |
16 | #define VMALLOC_VMADDR(x) ((unsigned long)(x)) |
17 | ||
18 | #endif /* _ASM_CRIS_ARCH_PGTABLE_H */ |