summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-10-31 11:24:25 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-10-31 11:24:27 +1100
commitd5d02d6dd394b295abcadd6b0ce4932c07916fdf (patch)
tree227678c07f2d2598ee62dc846d37968fad44549e
parent65fc716fa673cf98fb5887180fd3c52ca0371198 (diff)
downloadlinux-3.10-d5d02d6dd394b295abcadd6b0ce4932c07916fdf.tar.gz
linux-3.10-d5d02d6dd394b295abcadd6b0ce4932c07916fdf.tar.bz2
linux-3.10-d5d02d6dd394b295abcadd6b0ce4932c07916fdf.zip
lguest: fix example launcher compile after moved asm-x86 dir.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--Documentation/lguest/Makefile2
-rw-r--r--Documentation/lguest/lguest.c2
2 files changed, 2 insertions, 2 deletions
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.
*