aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm26/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm26/setup.h')
-rw-r--r--include/asm-arm26/setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm26/setup.h b/include/asm-arm26/setup.h
index 6348931be65..1a867b4e8d5 100644
--- a/include/asm-arm26/setup.h
+++ b/include/asm-arm26/setup.h
@@ -16,6 +16,8 @@
#define COMMAND_LINE_SIZE 1024
+#ifdef __KERNEL__
+
/* The list ends with an ATAG_NONE node. */
#define ATAG_NONE 0x00000000
@@ -202,4 +204,6 @@ struct meminfo {
extern struct meminfo meminfo;
+#endif /* __KERNEL__ */
+
#endif