include/asm/pgtable.h:267: warning: `struct vm_area_struct' declared inside parameter list
include/asm/pgtable.h:267: warning: its scope is only this definition or declaration, which is probably not what you want

Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/include/asm-x86_64/pgtable.h |    2 ++
 1 files changed, 2 insertions(+)

diff -puN include/asm-x86_64/pgtable.h~x86_64-pte-warning-fix include/asm-x86_64/pgtable.h
--- 25/include/asm-x86_64/pgtable.h~x86_64-pte-warning-fix	2005-03-07 20:41:20.000000000 -0800
+++ 25-akpm/include/asm-x86_64/pgtable.h	2005-03-07 20:41:20.000000000 -0800
@@ -264,6 +264,8 @@ extern inline pte_t pte_mkdirty(pte_t pt
 extern inline pte_t pte_mkyoung(pte_t pte)	{ set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); return pte; }
 extern inline pte_t pte_mkwrite(pte_t pte)	{ set_pte(&pte, __pte(pte_val(pte) | _PAGE_RW)); return pte; }
 
+struct vm_area_struct;
+
 static inline int ptep_test_and_clear_dirty(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep)
 {
 	if (!pte_dirty(*ptep))
_