diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-15 12:14:41 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-15 12:14:41 -0400 |
commit | 3b3c1b9d04db2ac925818c3cff677f5353c0b559 (patch) | |
tree | a9dd552ad393a9e65ab82eb1cf69d7236f52134c | |
parent | b3ae98ab8217a8621859e1d9cbf3ee6c4c19533b (diff) |
arch/tile: export only COMMAND_LINE_SIZE to userspace.
This fixes a failure in "make headers_check" for tile.
I hadn't realized this file was exported to userspace by default.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
-rw-r--r-- | arch/tile/include/asm/setup.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/tile/include/asm/setup.h b/arch/tile/include/asm/setup.h index 823ddd47ff6e..7caf0f36b030 100644 --- a/arch/tile/include/asm/setup.h +++ b/arch/tile/include/asm/setup.h | |||
@@ -15,6 +15,10 @@ | |||
15 | #ifndef _ASM_TILE_SETUP_H | 15 | #ifndef _ASM_TILE_SETUP_H |
16 | #define _ASM_TILE_SETUP_H | 16 | #define _ASM_TILE_SETUP_H |
17 | 17 | ||
18 | #define COMMAND_LINE_SIZE 2048 | ||
19 | |||
20 | #ifdef __KERNEL__ | ||
21 | |||
18 | #include <linux/pfn.h> | 22 | #include <linux/pfn.h> |
19 | #include <linux/init.h> | 23 | #include <linux/init.h> |
20 | 24 | ||
@@ -23,10 +27,10 @@ | |||
23 | */ | 27 | */ |
24 | #define MAXMEM_PFN PFN_DOWN(MAXMEM) | 28 | #define MAXMEM_PFN PFN_DOWN(MAXMEM) |
25 | 29 | ||
26 | #define COMMAND_LINE_SIZE 2048 | ||
27 | |||
28 | void early_panic(const char *fmt, ...); | 30 | void early_panic(const char *fmt, ...); |
29 | void warn_early_printk(void); | 31 | void warn_early_printk(void); |
30 | void __init disable_early_printk(void); | 32 | void __init disable_early_printk(void); |
31 | 33 | ||
34 | #endif /* __KERNEL__ */ | ||
35 | |||
32 | #endif /* _ASM_TILE_SETUP_H */ | 36 | #endif /* _ASM_TILE_SETUP_H */ |