All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] mips:powertv: Make kernel command line size configurable (resend)
@ 2009-05-04 22:57 David VomLehn
  2009-05-06 16:35 ` Ralf Baechle
  2009-05-08 15:25   ` Paul Gortmaker
  0 siblings, 2 replies; 16+ messages in thread
From: David VomLehn @ 2009-05-04 22:57 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Most platforms can get by perfectly well with the default command line size,
but some platforms need more. This patch allows the command line size to
be configured for those platforms that need it. The default remains 256
characters.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
---
 arch/mips/Kconfig             |    7 +++++++
 arch/mips/include/asm/setup.h |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 998e5db..99f7b6d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -780,6 +780,13 @@ config EARLY_PRINTK
 config SYS_HAS_EARLY_PRINTK
 	bool
 
+config COMMAND_LINE_SIZE
+	int "Maximum size of command line passed to kernel from bootloader"
+	default 256
+	help
+	  Most systems work well with the default value, but some bootloaders pass more
+	  information on the command line than others. A smaller value is good here.
+
 config HOTPLUG_CPU
 	bool
 	default n
diff --git a/arch/mips/include/asm/setup.h b/arch/mips/include/asm/setup.h
index e600ced..132e397 100644
--- a/arch/mips/include/asm/setup.h
+++ b/arch/mips/include/asm/setup.h
@@ -1,7 +1,7 @@
 #ifndef _MIPS_SETUP_H
 #define _MIPS_SETUP_H
 
-#define COMMAND_LINE_SIZE	256
+#define COMMAND_LINE_SIZE	CONFIG_COMMAND_LINE_SIZE
 
 #ifdef  __KERNEL__
 extern void setup_early_printk(void);

^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH 2/3] mips:powertv: Make kernel command line size configurable (resend)
@ 2009-05-29 18:30 David VomLehn
  0 siblings, 0 replies; 16+ messages in thread
From: David VomLehn @ 2009-05-29 18:30 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Most platforms can get by perfectly well with the default command line size,
but some platforms need more. This patch allows the command line size to
be configured for those platforms that need it. The default remains 256
characters.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
---
 arch/mips/Kconfig             |    7 +++++++
 arch/mips/include/asm/setup.h |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 998e5db..99f7b6d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -780,6 +780,13 @@ config EARLY_PRINTK
 config SYS_HAS_EARLY_PRINTK
 	bool
 
+config COMMAND_LINE_SIZE
+	int "Maximum size of command line passed to kernel from bootloader"
+	default 256
+	help
+	  Most systems work well with the default value, but some bootloaders pass more
+	  information on the command line than others. A smaller value is good here.
+
 config HOTPLUG_CPU
 	bool
 	default n
diff --git a/arch/mips/include/asm/setup.h b/arch/mips/include/asm/setup.h
index e600ced..132e397 100644
--- a/arch/mips/include/asm/setup.h
+++ b/arch/mips/include/asm/setup.h
@@ -1,7 +1,7 @@
 #ifndef _MIPS_SETUP_H
 #define _MIPS_SETUP_H
 
-#define COMMAND_LINE_SIZE	256
+#define COMMAND_LINE_SIZE	CONFIG_COMMAND_LINE_SIZE
 
 #ifdef  __KERNEL__
 extern void setup_early_printk(void);

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-05-29 18:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 22:57 [PATCH 2/3] mips:powertv: Make kernel command line size configurable (resend) David VomLehn
2009-05-06 16:35 ` Ralf Baechle
2009-05-06 16:44   ` Jon Fraser
2009-05-06 16:44     ` Jon Fraser
2009-05-06 18:28     ` David VomLehn
2009-05-06 17:13   ` Manuel Lauss
2009-05-06 18:19   ` David VomLehn
2009-05-06 18:24     ` David Daney
2009-05-06 18:27       ` Jon Fraser
2009-05-06 18:29         ` David Daney
2009-05-06 18:33         ` David VomLehn
2009-05-08 15:25 ` Paul Gortmaker
2009-05-08 15:25   ` Paul Gortmaker
2009-05-08 16:34   ` David VomLehn
2009-05-11 21:29     ` Paul Gortmaker
  -- strict thread matches above, loose matches on Subject: below --
2009-05-29 18:30 David VomLehn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.