linux-mips
[Top] [All Lists]

[patch 12/12] kexec-tools: mipsel: Define OPT_APPEND outside of any func

To: kexec@lists.infradead.org, linux-mips@linux-mips.org
Subject: [patch 12/12] kexec-tools: mipsel: Define OPT_APPEND outside of any function
From: Simon Horman <horms@verge.net.au>
Date: Thu, 06 Mar 2008 18:46:49 +0900
Cc: Tomasz Chmielewski <mangoo@wpkg.org>, Francesco Chiechi <francesco.chiechi@colibre.it>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080306094637.669665743@vergenet.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: quilt/0.46-1
Signed-off-by: Simon Horman <horms@verge.net.au>

--- 

 kexec/arch/mipsel/kexec-elf-mipsel.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: kexec-tools-testing-mips/kexec/arch/mipsel/kexec-elf-mipsel.c
===================================================================
--- kexec-tools-testing-mips.orig/kexec/arch/mipsel/kexec-elf-mipsel.c  
2008-03-06 18:39:51.000000000 +0900
+++ kexec-tools-testing-mips/kexec/arch/mipsel/kexec-elf-mipsel.c       
2008-03-06 18:39:51.000000000 +0900
@@ -70,6 +70,8 @@ static struct boot_notes {
 };
 
 
+#define OPT_APPEND     (OPT_ARCH_MAX+0)
+
 int elf_mipsel_probe(const char *buf, off_t len)
 {
 
@@ -117,7 +119,6 @@ int elf_mipsel_load(int argc, char **arg
        unsigned char *setup_start;
        uint32_t setup_size;
        int opt;
-#define OPT_APPEND     (OPT_ARCH_MAX+0)
        static const struct option options[] = {
                KEXEC_ARCH_OPTIONS
                {"command-line", 1, 0, OPT_APPEND},

-- 

-- 
Horms


<Prev in Thread] Current Thread [Next in Thread>