diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-02-09 12:13:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-09 20:08:33 +0100 |
commit | 257ce734736118282afdeaac5112dbf5bb1949f9 (patch) | |
tree | b5e955456ce397b76879504f6e50802f25c1c5f9 /include/asm-blackfin/page.h | |
parent | ub: fix up the conversion to sg_init_table() (diff) | |
download | linux-257ce734736118282afdeaac5112dbf5bb1949f9.tar.xz linux-257ce734736118282afdeaac5112dbf5bb1949f9.zip |
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-blackfin/page.h')
-rw-r--r-- | include/asm-blackfin/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-blackfin/page.h b/include/asm-blackfin/page.h index d5c9d1433781..c7db0220fbd6 100644 --- a/include/asm-blackfin/page.h +++ b/include/asm-blackfin/page.h @@ -39,6 +39,7 @@ typedef struct { typedef struct { unsigned long pgprot; } pgprot_t; +typedef struct page *pgtable_t; #define pte_val(x) ((x).pte) #define pmd_val(x) ((&x)->pmd[0]) |