From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] kvm-kmod: Fix including of arch/*/kvm/trace.h Date: Thu, 23 Jul 2009 18:48:20 -0300 Message-ID: <20090723214820.GB10152@amt.cnet> References: <4A678D9C.4070503@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-devel To: Jan Kiszka Return-path: Received: from mx2.redhat.com ([66.187.237.31]:50639 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753664AbZGWVtL (ORCPT ); Thu, 23 Jul 2009 17:49:11 -0400 Content-Disposition: inline In-Reply-To: <4A678D9C.4070503@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Jul 23, 2009 at 12:07:24AM +0200, Jan Kiszka wrote: > When building against a split kernel, we have to add its source path to > the include path. Otherwise arch/*/kvm/trace.h cannot be found. > > Signed-off-by: Jan Kiszka Applied this and the vmx.c return value one, thanks. > --- > > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index ad08c45..4c813a6 100644 > --- a/Makefile > +++ b/Makefile > @@ -28,7 +28,7 @@ all:: prerequisite > $(MAKE) -C $(KERNELDIR) M=`pwd` \ > LINUXINCLUDE="-I`pwd`/include -Iinclude \ > $(if $(KERNELSOURCEDIR),\ > - -Iinclude2 -I$(KERNELSOURCEDIR)/include -I$(KERNELSOURCEDIR)/arch/${ARCH_DIR}/include, \ > + -Iinclude2 -I$(KERNELSOURCEDIR)/include -I$(KERNELSOURCEDIR)/arch/${ARCH_DIR}/include -I$(KERNELSOURCEDIR), \ > -Iarch/${ARCH_DIR}/include) -I`pwd`/include-compat \ > -include include/linux/autoconf.h \ > -include `pwd`/$(ARCH_DIR)/external-module-compat.h $(module_defines)" \ >