Skip to content

Commit

Permalink
CRIS: Pagetable for ARTPEC-3
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Nilsson <[email protected]>
  • Loading branch information
jniax committed Aug 4, 2010
1 parent 32e7a8b commit 2dc1c40
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/cris/include/arch-v32/arch/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 2dc1c40

Please sign in to comment.