summaryrefslogtreecommitdiffstats
path: root/include/asm-frv/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/setup.h')
-rw-r--r--include/asm-frv/setup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-frv/setup.h b/include/asm-frv/setup.h
index 0d293b9..afd787c 100644
--- a/include/asm-frv/setup.h
+++ b/include/asm-frv/setup.h
@@ -12,6 +12,10 @@
#ifndef _ASM_SETUP_H
#define _ASM_SETUP_H
+#define COMMAND_LINE_SIZE 512
+
+#ifdef __KERNEL__
+
#include <linux/init.h>
#ifndef __ASSEMBLY__
@@ -22,4 +26,6 @@ extern unsigned long __initdata num_mappedpages;
#endif /* !__ASSEMBLY__ */
+#endif /* __KERNEL__ */
+
#endif /* _ASM_SETUP_H */
OpenPOWER on IntegriCloud