aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-sparc/setup.h6
-rw-r--r--include/asm-sparc64/setup.h11
2 files changed, 6 insertions, 11 deletions
diff --git a/include/asm-sparc/setup.h b/include/asm-sparc/setup.h
index b3af958a2ad2..2643c62f4ac0 100644
--- a/include/asm-sparc/setup.h
+++ b/include/asm-sparc/setup.h
@@ -5,6 +5,10 @@
5#ifndef _SPARC_SETUP_H 5#ifndef _SPARC_SETUP_H
6#define _SPARC_SETUP_H 6#define _SPARC_SETUP_H
7 7
8#define COMMAND_LINE_SIZE 256 8#if defined(__sparc__) && defined(__arch64__)
9# define COMMAND_LINE_SIZE 2048
10#else
11# define COMMAND_LINE_SIZE 256
12#endif
9 13
10#endif /* _SPARC_SETUP_H */ 14#endif /* _SPARC_SETUP_H */
diff --git a/include/asm-sparc64/setup.h b/include/asm-sparc64/setup.h
index 5053df3cec40..7143d06b2c55 100644
--- a/include/asm-sparc64/setup.h
+++ b/include/asm-sparc64/setup.h
@@ -1,10 +1 @@
1/* #include <asm-sparc/setup.h>
2 * Just a place holder.
3 */
4
5#ifndef _SPARC64_SETUP_H
6#define _SPARC64_SETUP_H
7
8#define COMMAND_LINE_SIZE 2048
9
10#endif /* _SPARC64_SETUP_H */