summaryrefslogtreecommitdiff
path: root/kexec/arch/hppa/kexec-elf-hppa.c
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2020-04-22 21:45:04 +0200
committerSimon Horman <horms@verge.net.au>2020-04-24 11:38:25 +0200
commit74c7c369f8c75c665605e117c14816bb060ed91c (patch)
treed5eac32860daa62fea53f1207511ba52aa9dc6c6 /kexec/arch/hppa/kexec-elf-hppa.c
parent5dc72ded6050a5bb161e3b832867e660c9ca009e (diff)
arm: redefine OPT_APPEND and OPT_RAMDISK
Redefine OPT_APPEND to avoid clash with OPT_KEXEC_SYSCALL_AUTO. Redefine OPT_RAMDISK to avoid such problems in the future Minor cleanup in HPPA too. Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/hppa/kexec-elf-hppa.c')
-rw-r--r--kexec/arch/hppa/kexec-elf-hppa.c2
1 files changed, 1 insertions, 1 deletions
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) {