diff options
Diffstat (limited to 'arch/cris/include/arch-v32/arch/pgtable.h')
-rw-r--r-- | arch/cris/include/arch-v32/arch/pgtable.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/cris/include/arch-v32/arch/pgtable.h b/arch/cris/include/arch-v32/arch/pgtable.h new file mode 100644 index 00000000..c1051a8d --- /dev/null +++ b/arch/cris/include/arch-v32/arch/pgtable.h @@ -0,0 +1,17 @@ +#ifndef _ASM_CRIS_ARCH_PGTABLE_H +#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 */ |