summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-04-11 08:49:31 +0200
committerIngo Molnar <mingo@kernel.org>2017-04-11 08:49:31 +0200
commit4729277156cf18acd9b9b04d6ef8c2a8a7bf00dc (patch)
tree783b640be1166813cab736e7cabbb9e48acb876d /tools
parent5af218439f3a4c9ca7139a40e5d047fe1ea39551 (diff)
parent687d77a5f7b2aae4ea0507888648823f7c24e974 (diff)
downloadlinux-stable-4729277156cf18acd9b9b04d6ef8c2a8a7bf00dc.tar.gz
linux-stable-4729277156cf18acd9b9b04d6ef8c2a8a7bf00dc.tar.bz2
linux-stable-4729277156cf18acd9b9b04d6ef8c2a8a7bf00dc.zip
Merge branch 'WIP.x86/boot' into x86/boot, to pick up ready branch
The E820 rework in WIP.x86/boot has gone through a couple of weeks of exposure in -tip, merge it in a wider fashion. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/lguest/lguest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c
index 11c8d9bc762e..4e38ea02ef0f 100644
--- a/tools/lguest/lguest.c
+++ b/tools/lguest/lguest.c
@@ -3339,7 +3339,7 @@ int main(int argc, char *argv[])
* simple, single region.
*/
boot->e820_entries = 1;
- boot->e820_map[0] = ((struct e820entry) { 0, mem, E820_RAM });
+ boot->e820_table[0] = ((struct e820_entry) { 0, mem, E820_TYPE_RAM });
/*
* The boot header contains a command line pointer: we put the command
* line after the boot header.