From: Rusty Russell <rusty@rustcorp.com.au>
Date: Fri, 31 Oct 2008 16:24:25 +0000 (-0500)
Subject: lguest: fix example launcher compile after moved asm-x86 dir.
X-Git-Tag: v2.6.28-rc3~28^2~2
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d5d02d6dd394b295abcadd6b0ce4932c07916fdf;p=linux-2.6-omap-h63xx.git

lguest: fix example launcher compile after moved asm-x86 dir.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---

diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile
index bac037eb1cd..725eef81cd4 100644
--- a/Documentation/lguest/Makefile
+++ b/Documentation/lguest/Makefile
@@ -1,5 +1,5 @@
 # This creates the demonstration utility "lguest" which runs a Linux guest.
-CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include
+CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include
 LDLIBS:=-lz
 
 all: lguest
diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c
index da86fd53856..804520633fc 100644
--- a/Documentation/lguest/lguest.c
+++ b/Documentation/lguest/lguest.c
@@ -44,7 +44,7 @@
 #include "linux/virtio_console.h"
 #include "linux/virtio_rng.h"
 #include "linux/virtio_ring.h"
-#include "asm-x86/bootparam.h"
+#include "asm/bootparam.h"
 /*L:110 We can ignore the 39 include files we need for this program, but I do
  * want to draw attention to the use of kernel-style types.
  *