summaryrefslogtreecommitdiff
path: root/kexec/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/i386')
-rw-r--r--kexec/arch/i386/kexec-beoboot-x86.c2
-rw-r--r--kexec/arch/i386/kexec-elf-rel-x86.c2
-rw-r--r--kexec/arch/i386/kexec-nbi.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/kexec/arch/i386/kexec-beoboot-x86.c b/kexec/arch/i386/kexec-beoboot-x86.c
index 2b1c34b..dd7f098 100644
--- a/kexec/arch/i386/kexec-beoboot-x86.c
+++ b/kexec/arch/i386/kexec-beoboot-x86.c
@@ -75,7 +75,7 @@ void beoboot_usage(void)
#define KERN32_BASE 0x100000 /* 1MB */
#define INITRD_BASE 0x1000000 /* 16MB */
-int beoboot_load(int argc, char **argv, const char *buf, off_t len,
+int beoboot_load(int argc, char **argv, const char *buf, off_t UNUSED(len),
struct kexec_info *info)
{
struct beoboot_header bb_header;
diff --git a/kexec/arch/i386/kexec-elf-rel-x86.c b/kexec/arch/i386/kexec-elf-rel-x86.c
index e2f1748..fdc3d52 100644
--- a/kexec/arch/i386/kexec-elf-rel-x86.c
+++ b/kexec/arch/i386/kexec-elf-rel-x86.c
@@ -18,7 +18,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/i386/kexec-nbi.c b/kexec/arch/i386/kexec-nbi.c
index 19ae631..469d669 100644
--- a/kexec/arch/i386/kexec-nbi.c
+++ b/kexec/arch/i386/kexec-nbi.c
@@ -150,7 +150,7 @@ void nbi_usage(void)
);
}
-int nbi_load(int argc, char **argv, const char *buf, off_t len,
+int nbi_load(int argc, char **argv, const char *buf, off_t UNUSED(len),
struct kexec_info *info)
{
struct imgheader hdr;