]>
Commit | Line | Data |
---|---|---|
32b75768 JB |
1 | --- linux-4.12/tools/lguest/lguest.c.orig 2017-07-03 01:07:02.000000000 +0200 |
2 | +++ linux-4.12/tools/lguest/lguest.c 2017-07-13 17:27:08.446483634 +0200 | |
3 | @@ -77,6 +77,7 @@ | |
4 | #include <linux/virtio_ring.h> | |
5 | #include "../../include/uapi/linux/virtio_pci.h" | |
6 | #include <asm/bootparam.h> | |
7 | +#include <asm/e820.h> | |
8 | #include "../../include/linux/lguest_launcher.h" | |
9 | ||
10 | #define BRIDGE_PFX "bridge:" | |
11 | @@ -3339,7 +3340,7 @@ | |
12 | * simple, single region. | |
13 | */ | |
14 | boot->e820_entries = 1; | |
15 | - boot->e820_table[0] = ((struct e820_entry) { 0, mem, E820_TYPE_RAM }); | |
16 | + boot->e820_table[0] = ((struct boot_e820_entry) { 0, mem, E820_RAM }); | |
17 | /* | |
18 | * The boot header contains a command line pointer: we put the command | |
19 | * line after the boot header. |