[PATCH] cris/mips: Remove unused setup_simple_* declarations

Geert Uytterhoeven geert at linux-m68k.org
Thu Sep 19 05:10:19 EDT 2013


Presumably these had been copied from ppc.

Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
---
 kexec/arch/cris/kexec-cris.h |    8 --------
 kexec/arch/mips/kexec-mips.h |    7 -------
 2 files changed, 15 deletions(-)

diff --git a/kexec/arch/cris/kexec-cris.h b/kexec/arch/cris/kexec-cris.h
index 6af49ef..7ee9945 100644
--- a/kexec/arch/cris/kexec-cris.h
+++ b/kexec/arch/cris/kexec-cris.h
@@ -1,14 +1,6 @@
 #ifndef KEXEC_CRIS_H
 #define KEXEC_CRIS_H
 
-extern unsigned char setup_simple_start[];
-extern uint32_t setup_simple_size;
-
-extern struct {
-	uint32_t spr8;
-	uint32_t spr9;
-} setup_simple_regs;
-
 int elf_cris_probe(const char *buf, off_t len);
 int elf_cris_load(int argc, char **argv, const char *buf, off_t len,
 	struct kexec_info *info);
diff --git a/kexec/arch/mips/kexec-mips.h b/kexec/arch/mips/kexec-mips.h
index 6d062fc..e67960b 100644
--- a/kexec/arch/mips/kexec-mips.h
+++ b/kexec/arch/mips/kexec-mips.h
@@ -6,13 +6,6 @@
 
 #define CORE_TYPE_ELF32 1
 #define CORE_TYPE_ELF64 2
-extern unsigned char setup_simple_start[];
-extern uint32_t setup_simple_size;
-
-extern struct {
-	uint32_t spr8;
-	uint32_t spr9;
-} setup_simple_regs;
 
 int elf_mips_probe(const char *buf, off_t len);
 int elf_mips_load(int argc, char **argv, const char *buf, off_t len,
-- 
1.7.9.5




More information about the kexec mailing list