diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-03-16 14:44:36 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-21 22:03:25 +0000 |
commit | 74945c8616a50074277e18641baaae7464006766 (patch) | |
tree | b74a005fd0c38b2582783378321bf324545f3346 /include/asm-arm/pgalloc.h | |
parent | 0f44ba1d1e67201c0c58af26eb441fa7014c89ec (diff) | |
download | linux-stable-74945c8616a50074277e18641baaae7464006766.tar.gz linux-stable-74945c8616a50074277e18641baaae7464006766.tar.bz2 linux-stable-74945c8616a50074277e18641baaae7464006766.zip |
[ARM] nommu: Move hardware page table definitions to pgtable-hwdef.h
Move the hardware PMD and PTE page table definitions from pgtable.h
into pgtable-hwdef.h, and include pgtable-hwdef.h as necessary.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/pgalloc.h')
-rw-r--r-- | include/asm-arm/pgalloc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/pgalloc.h b/include/asm-arm/pgalloc.h index bc18ff405181..c4ac2e67768d 100644 --- a/include/asm-arm/pgalloc.h +++ b/include/asm-arm/pgalloc.h @@ -10,10 +10,15 @@ #ifndef _ASMARM_PGALLOC_H #define _ASMARM_PGALLOC_H +#include <asm/domain.h> +#include <asm/pgtable-hwdef.h> #include <asm/processor.h> #include <asm/cacheflush.h> #include <asm/tlbflush.h> +#define _PAGE_USER_TABLE (PMD_TYPE_TABLE | PMD_BIT4 | PMD_DOMAIN(DOMAIN_USER)) +#define _PAGE_KERNEL_TABLE (PMD_TYPE_TABLE | PMD_BIT4 | PMD_DOMAIN(DOMAIN_KERNEL)) + /* * Since we have only two-level page tables, these are trivial */ |