summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2006-12-18 12:05:13 +0900
committerSimon Horman <horms@verge.net.au>2006-12-18 12:05:13 +0900
commit41bf7ad6f448edba12cd774c898c823d5d6d265d (patch)
tree17b39e524d22d038e771a612b26a335b24f99ace
parente2ec8c694bea047458ec6d7460991939f87fd990 (diff)
kexec-tools: Move defines to the top of kexec/arch/ia64/kexec-elf-ia64.c
Move defines to the top of kexec/arch/ia64/kexec-elf-ia64.c Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/ia64/kexec-elf-ia64.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/kexec/arch/ia64/kexec-elf-ia64.c b/kexec/arch/ia64/kexec-elf-ia64.c
index a663262..ca8e48e 100644
--- a/kexec/arch/ia64/kexec-elf-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-ia64.c
@@ -46,6 +46,11 @@
#include "crashdump-ia64.h"
#include <arch/options.h>
+#define OPT_APPEND (OPT_ARCH_MAX+0)
+#define OPT_RAMDISK (OPT_ARCH_MAX+1)
+#define OPT_NOIO (OPT_ARCH_MAX+2)
+#define OPT_VMM (OPT_ARCH_MAX+3)
+
static const int probe_debug = 0;
/*
@@ -128,10 +133,6 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len,
int result;
int opt;
char *efi_memmap_buf, *boot_param;
-#define OPT_APPEND (OPT_ARCH_MAX+0)
-#define OPT_RAMDISK (OPT_ARCH_MAX+1)
-#define OPT_NOIO (OPT_ARCH_MAX+2)
-#define OPT_VMM (OPT_ARCH_MAX+3)
static const struct option options[] = {
KEXEC_ARCH_OPTIONS
{"command-line", 1, 0, OPT_APPEND},