diff mbox

kvm-kmod: Fix including of arch/*/kvm/trace.h

Message ID 4A678D9C.4070503@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka July 22, 2009, 10:07 p.m. UTC
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 <jan.kiszka@siemens.com>
---

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Marcelo Tosatti July 23, 2009, 9:48 p.m. UTC | #1
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 <jan.kiszka@siemens.com>

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)" \
> 


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)" \