summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc64/kexec-zImage-ppc64.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ppc64/kexec-zImage-ppc64.c')
-rw-r--r--kexec/arch/ppc64/kexec-zImage-ppc64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kexec/arch/ppc64/kexec-zImage-ppc64.c b/kexec/arch/ppc64/kexec-zImage-ppc64.c
index 86cf48a..24a87c6 100644
--- a/kexec/arch/ppc64/kexec-zImage-ppc64.c
+++ b/kexec/arch/ppc64/kexec-zImage-ppc64.c
@@ -63,8 +63,9 @@ int zImage_ppc64_probe(FILE *file)
elf.e_machine == EM_PPC);
}
-int zImage_ppc64_load(FILE *file, int argc, char **argv, void **ret_entry,
- struct kexec_segment **ret_segments, int *ret_nr_segments)
+int zImage_ppc64_load(FILE *file, int UNUSED(argc), char **UNUSED(argv),
+ void **ret_entry, struct kexec_segment **ret_segments,
+ int *ret_nr_segments)
{
Elf32_Ehdr elf;
Elf32_Phdr *p, *ph;