Skip to content

Commit 941edd0

Browse files
Martin SchwidefskyLinus Torvalds
authored andcommitted
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>
1 parent 257ce73 commit 941edd0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/asm-m68knommu/page.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ typedef struct { unsigned long pte; } pte_t;
3131
typedef struct { unsigned long pmd[16]; } pmd_t;
3232
typedef struct { unsigned long pgd; } pgd_t;
3333
typedef struct { unsigned long pgprot; } pgprot_t;
34+
typedef struct page *pgtable_t;
3435

3536
#define pte_val(x) ((x).pte)
3637
#define pmd_val(x) ((&x)->pmd[0])

0 commit comments

Comments
 (0)