From: Jeremy Fitzhardinge Date: Wed, 25 Jun 2008 04:18:57 +0000 (-0400) Subject: x86: asm-x86/pgtable.h: fix compiler warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bea41808efdd8815435376209f23f406f8bf435f;p=linux-beck.git x86: asm-x86/pgtable.h: fix compiler warning Signed-off-by: Jeremy Fitzhardinge Cc: xen-devel Cc: Stephen Tweedie Cc: Eduardo Habkost Cc: Mark McLoughlin Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index f048975b31a4..1330e7487da1 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h @@ -425,6 +425,8 @@ static inline void native_set_pte_at(struct mm_struct *mm, unsigned long addr, * race with other CPU's that might be updating the dirty * bit at the same time. */ +struct vm_area_struct; + #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS extern int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep,