diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-02-09 06:13:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-09 14:08:33 -0500 |
commit | 257ce734736118282afdeaac5112dbf5bb1949f9 (patch) | |
tree | b5e955456ce397b76879504f6e50802f25c1c5f9 /include/asm-h8300/page.h | |
parent | 541645be8bbb67d39113096263dcf00615d789e3 (diff) |
Add pgtable_t to remaining nommu architectures
The pte_fn_t in include/linux/mm.h make it necessary for all architectures
to define a pgtable_t type, even those that do not have an mmu.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-h8300/page.h')
-rw-r--r-- | include/asm-h8300/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-h8300/page.h b/include/asm-h8300/page.h index a83492449130..d6a3eaf3b27e 100644 --- a/include/asm-h8300/page.h +++ b/include/asm-h8300/page.h | |||
@@ -31,6 +31,7 @@ typedef struct { unsigned long pte; } pte_t; | |||
31 | typedef struct { unsigned long pmd[16]; } pmd_t; | 31 | typedef struct { unsigned long pmd[16]; } pmd_t; |
32 | typedef struct { unsigned long pgd; } pgd_t; | 32 | typedef struct { unsigned long pgd; } pgd_t; |
33 | typedef struct { unsigned long pgprot; } pgprot_t; | 33 | typedef struct { unsigned long pgprot; } pgprot_t; |
34 | typedef struct page *pgtable_t; | ||
34 | 35 | ||
35 | #define pte_val(x) ((x).pte) | 36 | #define pte_val(x) ((x).pte) |
36 | #define pmd_val(x) ((&x)->pmd[0]) | 37 | #define pmd_val(x) ((&x)->pmd[0]) |