summaryrefslogtreecommitdiff
path: root/kexec/arch/ppc/crashdump-powerpc.h
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.vnet.ibm.com>2017-08-09 23:47:42 +0530
committerSimon Horman <horms@verge.net.au>2017-08-10 09:28:22 +0200
commit21eb397a5fc9227cd95d23e8c74a49cf6a293e57 (patch)
tree068cbf0a2ce63985810d4ce7b87306147be40f17 /kexec/arch/ppc/crashdump-powerpc.h
parent47478ea66d4301b12a07862aebc8447a2932f0ed (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/crashdump-powerpc.h')
-rw-r--r--kexec/arch/ppc/crashdump-powerpc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kexec/arch/ppc/crashdump-powerpc.h b/kexec/arch/ppc/crashdump-powerpc.h
index 9b9b01e..97b5095 100644
--- a/kexec/arch/ppc/crashdump-powerpc.h
+++ b/kexec/arch/ppc/crashdump-powerpc.h
@@ -20,8 +20,6 @@ extern struct arch_options_t arch_options;
#define KERNELBASE PAGE_OFFSET
#define __pa(x) ((unsigned long)(x)-PAGE_OFFSET)
-#define COMMAND_LINE_SIZE 512 /* from kernel */
-
#ifdef CONFIG_BOOKE
/* We don't need backup region in Book E */
#define BACKUP_SRC_START 0x0000