diff options
Diffstat (limited to 'kexec/arch/sh')
-rw-r--r-- | kexec/arch/sh/crashdump-sh.c | 2 | ||||
-rw-r--r-- | kexec/arch/sh/kexec-elf-rel-sh.c | 4 | ||||
-rw-r--r-- | kexec/arch/sh/kexec-netbsd-sh.c | 4 | ||||
-rw-r--r-- | kexec/arch/sh/kexec-sh.c | 8 |
4 files changed, 9 insertions, 9 deletions
diff --git a/kexec/arch/sh/crashdump-sh.c b/kexec/arch/sh/crashdump-sh.c index e23a5f8..f3c8c74 100644 --- a/kexec/arch/sh/crashdump-sh.c +++ b/kexec/arch/sh/crashdump-sh.c @@ -34,7 +34,7 @@ static struct memory_range crash_memory_range[CRASH_MAX_MEMORY_RANGES]; uint64_t saved_max_mem; static int crash_sh_range_nr; -static int crash_sh_memory_range_callback(void *data, int nr, +static int crash_sh_memory_range_callback(void *UNUSED(data), int UNUSED(nr), char *str, unsigned long base, unsigned long length) diff --git a/kexec/arch/sh/kexec-elf-rel-sh.c b/kexec/arch/sh/kexec-elf-rel-sh.c index c1aaa60..0bfc45e 100644 --- a/kexec/arch/sh/kexec-elf-rel-sh.c +++ b/kexec/arch/sh/kexec-elf-rel-sh.c @@ -28,8 +28,8 @@ 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 *orig_loc, unsigned long address, unsigned long relocation) +void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr), unsigned long r_type, + void *orig_loc, unsigned long UNUSED(address), unsigned long relocation) { uint32_t *location = orig_loc; uint32_t value; diff --git a/kexec/arch/sh/kexec-netbsd-sh.c b/kexec/arch/sh/kexec-netbsd-sh.c index a9f57b8..ea67172 100644 --- a/kexec/arch/sh/kexec-netbsd-sh.c +++ b/kexec/arch/sh/kexec-netbsd-sh.c @@ -33,7 +33,7 @@ const extern unsigned char netbsd_booter[]; * * Make sure that the file image has a reasonable chance of working. */ -int netbsd_sh_probe(const char *buf, off_t len) +int netbsd_sh_probe(const char *buf, off_t UNUSED(len)) { Elf32_Ehdr *ehdr; @@ -54,7 +54,7 @@ void netbsd_sh_usage(void) " --miniroot=FILE NetBSD miniroot ramdisk.\n\n"); } -int netbsd_sh_load(int argc, char **argv, const char *buf, off_t len, +int netbsd_sh_load(int argc, char **argv, const char *buf, off_t UNUSED(len), struct kexec_info *info) { const char *howto, *miniroot; diff --git a/kexec/arch/sh/kexec-sh.c b/kexec/arch/sh/kexec-sh.c index d04989d..86bce27 100644 --- a/kexec/arch/sh/kexec-sh.c +++ b/kexec/arch/sh/kexec-sh.c @@ -22,8 +22,8 @@ #define MAX_MEMORY_RANGES 64 static struct memory_range memory_range[MAX_MEMORY_RANGES]; -static int kexec_sh_memory_range_callback(void *data, int nr, - char *str, +static int kexec_sh_memory_range_callback(void *UNUSED(data), int nr, + char *UNUSED(str), unsigned long base, unsigned long length) { @@ -138,12 +138,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)) { } |