From: Adrian Bunk Subject: [-mm patch] arch/i386/xen/mmu.c must #include Date: Fri, 6 Jul 2007 01:22:42 +0200 Message-ID: <20070705232242.GV3492@stusta.de> References: <20070628034321.38c9f12b.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <20070628034321.38c9f12b.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org To: Andrew Morton , jeremy@xensource.com, chrisw@sous-sol.org Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This patch fixes the following compile error: <-- snip --> =2E.. CC arch/i386/xen/mmu.o In file included from=20 /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/i386/xen/mmu.c:46= : include2/asm/mmu_context.h: In function =E2=80=98switch_mm=E2=80=99: include2/asm/mmu_context.h:45: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:50: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:53: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:58: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:58: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:59: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:66: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:70: error: dereferencing pointer to incomple= te type include2/asm/mmu_context.h:71: error: dereferencing pointer to incomple= te type =2E.. make[2]: *** [arch/i386/xen/mmu.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk --- --- linux-2.6.22-rc6-mm1/arch/i386/xen/mmu.c.old 2007-07-04 00:11:28.00= 0000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/i386/xen/mmu.c 2007-07-04 00:11:39.000000= 000 +0200 @@ -39,6 +39,7 @@ * Jeremy Fitzhardinge , XenSource Inc, 2007 */ #include +#include =20 #include #include