From: Ian Campbell Subject: Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix Date: Mon, 11 May 2009 16:39:54 +0100 Message-ID: <1242056394.29990.94.camel@zakaz.uk.xensource.com> References: <1241797927.15972.51.camel@zakaz.uk.xensource.com> <20090511131230.GA32693@elte.hu> <1242054041.29990.88.camel@zakaz.uk.xensource.com> <20090511151151.GA3267@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090511151151.GA3267@elte.hu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ingo Molnar Cc: Fitzhardinge Jeremy, "linux-tip-commits@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "hpa@zytor.com" , "tglx@linutronix.de" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2009-05-11 at 11:11 -0400, Ingo Molnar wrote: > * Ian Campbell wrote: >=20 > > --- a/arch/x86/kernel/setup.c > > +++ b/arch/x86/kernel/setup.c > > @@ -985,6 +985,8 @@ void __init setup_arch(char **cmdline_p) > > =20 > > e820_setup_gap(); > > =20 > > + init_smp_flush(); > > + >=20 > please test patches better: >=20 > arch/x86/kernel/setup.c:1006: error: implicit declaration of function =E2= =80=98init_smp_flush=E2=80=99 Doesn't happen in my environment: + make O=3D../linux-2.6-build-dom0-x86_32p-xen0 ARCH=3Dx86 arch/x86/kerne= l/setup.o Using /local/scratch/ianc/devel/kernels/linux-2.6 as source for kernel GEN /local/scratch/ianc/devel/kernels/linux-2.6-build-dom0-x86_32p-= xen0/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CALL /local/scratch/ianc/devel/kernels/linux-2.6/scripts/checksyscal= ls.sh CC arch/x86/kernel/setup.o This was on f6271becbae641903a9f703b7b75cccb202df82a which is latest tip/master. I guess either you have unpushed changes or it is config specific. in any case I would guess that the fix is: --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -87,6 +87,7 @@ #include #include #include +#include =20 #include #include