diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 23:40:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:46 -0500 |
commit | 7d1362c0d05b8543807ab403ac8ce813cab41fa4 (patch) | |
tree | 78f4f97229af02e4a8e3d1851b003b296db6dcda /include/asm-arm26 | |
parent | f46ba2235feab5e686b1234c328a0577cde86e21 (diff) |
[PATCH] cleanup asm/setup.h userspace visibility
Make the contents of the userspace asm/setup.h header consistent on all
architectures:
- export setup.h to userspace on all architectures
- export only COMMAND_LINE_SIZE to userspace
- frv: move COMMAND_LINE_SIZE from param.h
- i386: remove duplicate COMMAND_LINE_SIZE from param.h
- arm:
- export ATAGs to userspace
- change u8/u16/u32 to __u8/__u16/__u32
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm26')
-rw-r--r-- | include/asm-arm26/setup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm26/setup.h b/include/asm-arm26/setup.h index 6348931be65d..1a867b4e8d53 100644 --- a/include/asm-arm26/setup.h +++ b/include/asm-arm26/setup.h | |||
@@ -16,6 +16,8 @@ | |||
16 | 16 | ||
17 | #define COMMAND_LINE_SIZE 1024 | 17 | #define COMMAND_LINE_SIZE 1024 |
18 | 18 | ||
19 | #ifdef __KERNEL__ | ||
20 | |||
19 | /* The list ends with an ATAG_NONE node. */ | 21 | /* The list ends with an ATAG_NONE node. */ |
20 | #define ATAG_NONE 0x00000000 | 22 | #define ATAG_NONE 0x00000000 |
21 | 23 | ||
@@ -202,4 +204,6 @@ struct meminfo { | |||
202 | 204 | ||
203 | extern struct meminfo meminfo; | 205 | extern struct meminfo meminfo; |
204 | 206 | ||
207 | #endif /* __KERNEL__ */ | ||
208 | |||
205 | #endif | 209 | #endif |