diff options
Diffstat (limited to 'kexec/arch/ppc')
-rw-r--r-- | kexec/arch/ppc/kexec-dol-ppc.c | 2 | ||||
-rw-r--r-- | kexec/arch/ppc/kexec-elf-rel-ppc.c | 2 | ||||
-rw-r--r-- | kexec/arch/ppc/kexec-ppc.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kexec/arch/ppc/kexec-dol-ppc.c b/kexec/arch/ppc/kexec-dol-ppc.c index e2a197a..429c8ab 100644 --- a/kexec/arch/ppc/kexec-dol-ppc.c +++ b/kexec/arch/ppc/kexec-dol-ppc.c @@ -316,7 +316,7 @@ void dol_ppc_usage(void) } -int dol_ppc_load(int argc, char **argv, const char *buf, off_t len, +int dol_ppc_load(int argc, char **argv, const char *buf, off_t UNUSED(len), struct kexec_info *info) { dol_header header, *h; diff --git a/kexec/arch/ppc/kexec-elf-rel-ppc.c b/kexec/arch/ppc/kexec-elf-rel-ppc.c index e711f3b..7aa92db 100644 --- a/kexec/arch/ppc/kexec-elf-rel-ppc.c +++ b/kexec/arch/ppc/kexec-elf-rel-ppc.c @@ -17,7 +17,7 @@ int machine_verify_elf_rel(struct mem_ehdr *ehdr) return 1; } -void machine_apply_elf_rel(struct mem_ehdr *ehdr, unsigned long r_type, +void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr), unsigned long r_type, void *location, unsigned long address, unsigned long value) { switch(r_type) { diff --git a/kexec/arch/ppc/kexec-ppc.c b/kexec/arch/ppc/kexec-ppc.c index ef4fe35..511b027 100644 --- a/kexec/arch/ppc/kexec-ppc.c +++ b/kexec/arch/ppc/kexec-ppc.c @@ -23,8 +23,8 @@ static struct memory_range memory_range[MAX_MEMORY_RANGES]; /* Return a sorted list of memory ranges. */ -int get_memory_ranges(struct memory_range **range, int *ranges, - unsigned long kexec_flags) +int get_memory_ranges(struct memory_range **UNUSED(range), int *UNUSED(ranges), + unsigned long UNUSED(kexec_flags)) { #ifdef WITH_GAMECUBE int memory_ranges = 0; @@ -83,12 +83,12 @@ 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)) { } |