aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/page.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-02-09 06:11:21 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-09 14:08:34 -0500
commit941edd030b9725f9f85bd62dfdb68cde3a50fb66 (patch)
tree71055454750fb039308254d7a46aed86413bef3e /include/asm-m68knommu/page.h
parent257ce734736118282afdeaac5112dbf5bb1949f9 (diff)
m68knommu: add pgtable_t
CC init/main.o In file included from include2/asm/uaccess.h:8, from include/linux/poll.h:13, from include/linux/rtc.h:113, from include/linux/efi.h:19, from linux-2.6/init/main.c:43: include/linux/mm.h:1151: error: expected declaration specifiers or '...' before 'pgtable_t' Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Reported-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68knommu/page.h')
-rw-r--r--include/asm-m68knommu/page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-m68knommu/page.h b/include/asm-m68knommu/page.h
index 6af480c7f291..1e82ebb7d644 100644
--- a/include/asm-m68knommu/page.h
+++ b/include/asm-m68knommu/page.h
@@ -31,6 +31,7 @@ typedef struct { unsigned long pte; } pte_t;
31typedef struct { unsigned long pmd[16]; } pmd_t; 31typedef struct { unsigned long pmd[16]; } pmd_t;
32typedef struct { unsigned long pgd; } pgd_t; 32typedef struct { unsigned long pgd; } pgd_t;
33typedef struct { unsigned long pgprot; } pgprot_t; 33typedef struct { unsigned long pgprot; } pgprot_t;
34typedef 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])