diff options
-rw-r--r-- | include/asm-blackfin/page.h | 1 | ||||
-rw-r--r-- | include/asm-h8300/page.h | 1 | ||||
-rw-r--r-- | include/asm-v850/page.h | 1 |
3 files changed, 3 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 { | |||
39 | typedef struct { | 39 | typedef struct { |
40 | unsigned long pgprot; | 40 | unsigned long pgprot; |
41 | } pgprot_t; | 41 | } pgprot_t; |
42 | typedef struct page *pgtable_t; | ||
42 | 43 | ||
43 | #define pte_val(x) ((x).pte) | 44 | #define pte_val(x) ((x).pte) |
44 | #define pmd_val(x) ((&x)->pmd[0]) | 45 | #define pmd_val(x) ((&x)->pmd[0]) |
diff --git a/include/asm-h8300/page.h b/include/asm-h8300/page.h index a83492449130..d6a3eaf3b27e 100644 --- a/include/asm-h8300/page.h +++ b/include/asm-h8300/page.h | |||
@@ -31,6 +31,7 @@ typedef struct { unsigned long pte; } pte_t; | |||
31 | typedef struct { unsigned long pmd[16]; } pmd_t; | 31 | typedef struct { unsigned long pmd[16]; } pmd_t; |
32 | typedef struct { unsigned long pgd; } pgd_t; | 32 | typedef struct { unsigned long pgd; } pgd_t; |
33 | typedef struct { unsigned long pgprot; } pgprot_t; | 33 | typedef struct { unsigned long pgprot; } pgprot_t; |
34 | typedef 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]) |
diff --git a/include/asm-v850/page.h b/include/asm-v850/page.h index 661d8cd08839..74a539a9bd59 100644 --- a/include/asm-v850/page.h +++ b/include/asm-v850/page.h | |||
@@ -57,6 +57,7 @@ typedef struct { unsigned long pte; } pte_t; | |||
57 | typedef struct { unsigned long pmd; } pmd_t; | 57 | typedef struct { unsigned long pmd; } pmd_t; |
58 | typedef struct { unsigned long pgd; } pgd_t; | 58 | typedef struct { unsigned long pgd; } pgd_t; |
59 | typedef struct { unsigned long pgprot; } pgprot_t; | 59 | typedef struct { unsigned long pgprot; } pgprot_t; |
60 | typedef struct page *pgtable_t; | ||
60 | 61 | ||
61 | #define pte_val(x) ((x).pte) | 62 | #define pte_val(x) ((x).pte) |
62 | #define pmd_val(x) ((x).pmd) | 63 | #define pmd_val(x) ((x).pmd) |