summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ops.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-04-14 21:54:05 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-28 16:31:54 +1000
commita2dd5da77f2cc9fc9ff11ea6b699556254e94a6c (patch)
tree0304ad48129ca48360963cad6138d600deacbe8c /arch/powerpc/boot/ops.h
parentbbad3e50e8ed2d48294c141e687d411430cacbcf (diff)
downloadop-kernel-dev-a2dd5da77f2cc9fc9ff11ea6b699556254e94a6c.zip
op-kernel-dev-a2dd5da77f2cc9fc9ff11ea6b699556254e94a6c.tar.gz
powerpc: Rename duplicate COMMAND_LINE_SIZE define
We have two definitions of COMMAND_LINE_SIZE, one for the kernel and one for the boot wrapper. I assume this is so the boot wrapper can be self sufficient and not rely on kernel headers. Having two defines with the same name is confusing, I just updated the wrong one when trying to bump it. Make the boot wrapper define unique by calling it BOOT_COMMAND_LINE_SIZE. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r--arch/powerpc/boot/ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index b3218ce..339e041 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -15,7 +15,7 @@
#include "types.h"
#include "string.h"
-#define COMMAND_LINE_SIZE 512
+#define BOOT_COMMAND_LINE_SIZE 512
#define MAX_PATH_LEN 256
#define MAX_PROP_LEN 256 /* What should this be? */
OpenPOWER on IntegriCloud