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

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Martin Schwidefsky and committed by
Linus Torvalds
257ce734 541645be

+3
+1
include/asm-blackfin/page.h
··· 39 39 typedef struct { 40 40 unsigned long pgprot; 41 41 } pgprot_t; 42 + typedef struct page *pgtable_t; 42 43 43 44 #define pte_val(x) ((x).pte) 44 45 #define pmd_val(x) ((&x)->pmd[0])
+1
include/asm-h8300/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])
+1
include/asm-v850/page.h
··· 57 57 typedef struct { unsigned long pmd; } pmd_t; 58 58 typedef struct { unsigned long pgd; } pgd_t; 59 59 typedef struct { unsigned long pgprot; } pgprot_t; 60 + typedef struct page *pgtable_t; 60 61 61 62 #define pte_val(x) ((x).pte) 62 63 #define pmd_val(x) ((x).pmd)