Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Martin Schwidefsky and committed by
Linus Torvalds
941edd03 257ce734

+1
+1
include/asm-m68knommu/page.h
··· 31 31 typedef struct { unsigned long pmd[16]; } pmd_t; 32 32 typedef struct { unsigned long pgd; } pgd_t; 33 33 typedef struct { unsigned long pgprot; } pgprot_t; 34 + typedef struct page *pgtable_t; 34 35 35 36 #define pte_val(x) ((x).pte) 36 37 #define pmd_val(x) ((&x)->pmd[0])