diff options
Diffstat (limited to 'include/asm-m32r/pgtable.h')
-rw-r--r-- | include/asm-m32r/pgtable.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-m32r/pgtable.h b/include/asm-m32r/pgtable.h index 388e5ee9fa27..75740debcd01 100644 --- a/include/asm-m32r/pgtable.h +++ b/include/asm-m32r/pgtable.h | |||
@@ -27,6 +27,9 @@ | |||
27 | #include <asm/bitops.h> | 27 | #include <asm/bitops.h> |
28 | #include <asm/page.h> | 28 | #include <asm/page.h> |
29 | 29 | ||
30 | struct mm_struct; | ||
31 | struct vm_area_struct; | ||
32 | |||
30 | extern pgd_t swapper_pg_dir[1024]; | 33 | extern pgd_t swapper_pg_dir[1024]; |
31 | extern void paging_init(void); | 34 | extern void paging_init(void); |
32 | 35 | ||
@@ -324,8 +327,6 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | |||
324 | return pte; | 327 | return pte; |
325 | } | 328 | } |
326 | 329 | ||
327 | #define page_pte(page) page_pte_prot(page, __pgprot(0)) | ||
328 | |||
329 | /* | 330 | /* |
330 | * Conversion functions: convert a page and protection to a page entry, | 331 | * Conversion functions: convert a page and protection to a page entry, |
331 | * and a page entry and page directory to the page they refer to. | 332 | * and a page entry and page directory to the page they refer to. |