diff options
Diffstat (limited to 'kexec/arch/ppc/kexec-elf-ppc.c')
-rw-r--r-- | kexec/arch/ppc/kexec-elf-ppc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c index 0d8823b..d155bde 100644 --- a/kexec/arch/ppc/kexec-elf-ppc.c +++ b/kexec/arch/ppc/kexec-elf-ppc.c @@ -123,10 +123,7 @@ static void gamecube_hack_addresses(struct mem_ehdr *ehdr) } #endif -#define OPT_APPEND (OPT_ARCH_MAX+0) -#define OPT_GAMECUBE (OPT_ARCH_MAX+1) -#define OPT_DTB (OPT_ARCH_MAX+2) -#define OPT_NODES (OPT_ARCH_MAX+3) +/* See options.h -- add any more there, too. */ static const struct option options[] = { KEXEC_ARCH_OPTIONS {"command-line", 1, 0, OPT_APPEND}, @@ -136,7 +133,7 @@ static const struct option options[] = { {"reuse-node", 1, 0, OPT_NODES}, {0, 0, 0, 0}, }; -static const char short_options[] = KEXEC_ARCH_OPT_STR "d"; +static const char short_options[] = KEXEC_ARCH_OPT_STR; void elf_ppc_usage(void) { |