summaryrefslogtreecommitdiff
path: root/kexec/arch/i386/kexec-multiboot-x86.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2006-09-21 14:51:12 -0400
committerSimon Horman <horms@verge.net.au>2006-10-06 12:46:16 +0900
commit11c261bd942ee34e95289a5226abb2e87122cb5d (patch)
tree8083d085d8f4a30617ce0f1b8ecf5480cb468b91 /kexec/arch/i386/kexec-multiboot-x86.c
parentdd3f52d4668938b9b3ad91607d7df3cf337b0863 (diff)
kexec-tools: i386 fix compilation issues due to new parameter
o Fix i386 compilation issues. Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/kexec-multiboot-x86.c')
-rw-r--r--kexec/arch/i386/kexec-multiboot-x86.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kexec/arch/i386/kexec-multiboot-x86.c b/kexec/arch/i386/kexec-multiboot-x86.c
index 9414bfe..8b2c9fd 100644
--- a/kexec/arch/i386/kexec-multiboot-x86.c
+++ b/kexec/arch/i386/kexec-multiboot-x86.c
@@ -210,10 +210,11 @@ int multiboot_x86_load(int argc, char **argv, const char *buf, off_t len,
/* Load the ELF executable */
- elf_exec_build_load(info, &ehdr, buf, len);
+ elf_exec_build_load(info, &ehdr, buf, len, 0);
/* Load the setup code */
- elf_rel_build_load(info, &info->rhdr, purgatory, purgatory_size, 0, ULONG_MAX, 1);
+ elf_rel_build_load(info, &info->rhdr, purgatory, purgatory_size, 0,
+ ULONG_MAX, 1, 0);
/* The first segment will contain the multiboot headers:
* =============