ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
This commit is contained in:
parent
178e4e9927
commit
7ac21ada55
@ -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));
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user