0001
0002
0003
0004
0005
0006 #ifndef _ASM_ARC_PGTABLE_H
0007 #define _ASM_ARC_PGTABLE_H
0008
0009 #include <linux/bits.h>
0010
0011 #include <asm/pgtable-levels.h>
0012 #include <asm/pgtable-bits-arcv2.h>
0013 #include <asm/page.h>
0014 #include <asm/mmu.h>
0015
0016
0017
0018
0019
0020 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
0021
0022 #ifndef __ASSEMBLY__
0023
0024 extern char empty_zero_page[PAGE_SIZE];
0025 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
0026
0027 extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE);
0028
0029
0030 #define HAVE_ARCH_UNMAPPED_AREA
0031
0032 #endif
0033
0034 #endif