diff options
author | Hari Bathini <hbathini@linux.vnet.ibm.com> | 2017-08-09 23:47:42 +0530 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2017-08-10 09:28:22 +0200 |
commit | 21eb397a5fc9227cd95d23e8c74a49cf6a293e57 (patch) | |
tree | 068cbf0a2ce63985810d4ce7b87306147be40f17 /kexec/arch/ppc/ops.h | |
parent | 47478ea66d4301b12a07862aebc8447a2932f0ed (diff) |
kexec-tools: powerpc: fix command line overflow error
Since kernel commit a5980d064fe2 ("powerpc: Bump COMMAND_LINE_SIZE
to 2048"), powerpc bumped command line size to 2048 but the size
used here is still the default value of 512. Bump it to 2048 to
fix command line overflow errors observed when command line length
is above 512 bytes. Also, get rid of the multiple definitions of
COMMAND_LINE_SIZE macro in ppc architecture.
Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc/ops.h')
-rw-r--r-- | kexec/arch/ppc/ops.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kexec/arch/ppc/ops.h b/kexec/arch/ppc/ops.h index 7334a05..5e7a070 100644 --- a/kexec/arch/ppc/ops.h +++ b/kexec/arch/ppc/ops.h @@ -12,7 +12,6 @@ #define _PPC_BOOT_OPS_H_ #include "types.h" -#define COMMAND_LINE_SIZE 512 #define MAX_PATH_LEN 256 #define MAX_PROP_LEN 256 /* What should this be? */ |