diff options
Diffstat (limited to 'kexec/arch/ppc64')
-rw-r--r-- | kexec/arch/ppc64/kexec-ppc64.c | 4 | ||||
-rw-r--r-- | kexec/arch/ppc64/kexec-zImage-ppc64.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/kexec/arch/ppc64/kexec-ppc64.c b/kexec/arch/ppc64/kexec-ppc64.c index 758e547..ab671fd 100644 --- a/kexec/arch/ppc64/kexec-ppc64.c +++ b/kexec/arch/ppc64/kexec-ppc64.c @@ -804,11 +804,11 @@ const struct arch_map_entry arches[] = { { 0 }, }; -int arch_compat_trampoline(struct kexec_info *info) +int arch_compat_trampoline(struct kexec_info *UNUSED(info)) { return 0; } -void arch_update_purgatory(struct kexec_info *info) +void arch_update_purgatory(struct kexec_info *UNUSED(info)) { } 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; |