summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-28 19:45:24 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-28 19:45:24 +0000
commit3ab0d998571e0c5aff68c84c931fb82de1ad23be (patch)
treedb652b77f742ce2fcf888f8a31489f2e3282447d /target/linux/ramips
parent06ec6493fe8845fd1dfdb61e97a459b7351d7d63 (diff)
ramips: use COMMAND_LINE_SIZE directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/common/prom.c2
-rw-r--r--target/linux/ramips/patches-2.6.34/104-clsize.patch11
2 files changed, 1 insertions, 12 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/common/prom.c b/target/linux/ramips/files/arch/mips/ralink/common/prom.c
index fb37274ff..b207b66a8 100644
--- a/target/linux/ramips/files/arch/mips/ralink/common/prom.c
+++ b/target/linux/ramips/files/arch/mips/ralink/common/prom.c
@@ -46,7 +46,7 @@ static inline void *to_ram_addr(void *addr)
static void __init prom_append_cmdline(const char *name,
const char *value)
{
- char buf[CL_SIZE];
+ char buf[COMMAND_LINE_SIZE];
snprintf(buf, sizeof(buf), " %s=%s", name, value);
strlcat(arcs_cmdline, buf, sizeof(arcs_cmdline));
diff --git a/target/linux/ramips/patches-2.6.34/104-clsize.patch b/target/linux/ramips/patches-2.6.34/104-clsize.patch
deleted file mode 100644
index 34942332b..000000000
--- a/target/linux/ramips/patches-2.6.34/104-clsize.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/arch/mips/include/asm/bootinfo.h
-+++ b/arch/mips/include/asm/bootinfo.h
-@@ -12,6 +12,8 @@
- #ifndef _ASM_BOOTINFO_H
- #define _ASM_BOOTINFO_H
-
-+#define CL_SIZE COMMAND_LINE_SIZE
-+
- #include <linux/types.h>
- #include <asm/setup.h>
-