diff options
Diffstat (limited to 'Documentation/lguest')
-rw-r--r-- | Documentation/lguest/Makefile | 2 | ||||
-rw-r--r-- | Documentation/lguest/lguest.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile index bac037eb1cda..725eef81cd48 100644 --- a/Documentation/lguest/Makefile +++ b/Documentation/lguest/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # This creates the demonstration utility "lguest" which runs a Linux guest. | 1 | # This creates the demonstration utility "lguest" which runs a Linux guest. |
2 | CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include | 2 | CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include |
3 | LDLIBS:=-lz | 3 | LDLIBS:=-lz |
4 | 4 | ||
5 | all: lguest | 5 | all: lguest |
diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c index 7228369d1014..804520633fcf 100644 --- a/Documentation/lguest/lguest.c +++ b/Documentation/lguest/lguest.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "linux/virtio_console.h" | 44 | #include "linux/virtio_console.h" |
45 | #include "linux/virtio_rng.h" | 45 | #include "linux/virtio_rng.h" |
46 | #include "linux/virtio_ring.h" | 46 | #include "linux/virtio_ring.h" |
47 | #include "asm-x86/bootparam.h" | 47 | #include "asm/bootparam.h" |
48 | /*L:110 We can ignore the 39 include files we need for this program, but I do | 48 | /*L:110 We can ignore the 39 include files we need for this program, but I do |
49 | * want to draw attention to the use of kernel-style types. | 49 | * want to draw attention to the use of kernel-style types. |
50 | * | 50 | * |
@@ -402,7 +402,7 @@ static unsigned long load_bzimage(int fd) | |||
402 | void *p = from_guest_phys(0x100000); | 402 | void *p = from_guest_phys(0x100000); |
403 | 403 | ||
404 | /* Go back to the start of the file and read the header. It should be | 404 | /* Go back to the start of the file and read the header. It should be |
405 | * a Linux boot header (see Documentation/i386/boot.txt) */ | 405 | * a Linux boot header (see Documentation/x86/i386/boot.txt) */ |
406 | lseek(fd, 0, SEEK_SET); | 406 | lseek(fd, 0, SEEK_SET); |
407 | read(fd, &boot, sizeof(boot)); | 407 | read(fd, &boot, sizeof(boot)); |
408 | 408 | ||