summaryrefslogtreecommitdiff
path: root/kexec/arch/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/hppa')
-rw-r--r--kexec/arch/hppa/include/arch/options.h2
-rw-r--r--kexec/arch/hppa/kexec-elf-hppa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/hppa/include/arch/options.h b/kexec/arch/hppa/include/arch/options.h
index a936140..e9deb51 100644
--- a/kexec/arch/hppa/include/arch/options.h
+++ b/kexec/arch/hppa/include/arch/options.h
@@ -17,7 +17,7 @@
{ "ramdisk", 1, 0, OPT_RAMDISK },
-#define KEXEC_ALL_OPT_STR KEXEC_ARCH_OPT_STR "a:r:s:"
+#define KEXEC_ALL_OPT_STR KEXEC_ARCH_OPT_STR ""
/* See the other architectures for details of these; HPPA has no
* loader-specific options yet.
diff --git a/kexec/arch/hppa/kexec-elf-hppa.c b/kexec/arch/hppa/kexec-elf-hppa.c
index d3ef0e9..474a919 100644
--- a/kexec/arch/hppa/kexec-elf-hppa.c
+++ b/kexec/arch/hppa/kexec-elf-hppa.c
@@ -76,7 +76,7 @@ int elf_hppa_load(int argc, char **argv, const char *buf, off_t len,
{ 0, 0, NULL, 0 },
};
- static const char short_options[] = KEXEC_ALL_OPT_STR "d";
+ static const char short_options[] = KEXEC_ALL_OPT_STR;
while ((opt = getopt_long(argc, argv, short_options, options, 0)) !=
-1) {