diff options
Diffstat (limited to 'include/asm-i386/setup.h')
-rw-r--r-- | include/asm-i386/setup.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-i386/setup.h b/include/asm-i386/setup.h index 2734909eff84..c5b504bfbaad 100644 --- a/include/asm-i386/setup.h +++ b/include/asm-i386/setup.h | |||
@@ -6,6 +6,8 @@ | |||
6 | #ifndef _i386_SETUP_H | 6 | #ifndef _i386_SETUP_H |
7 | #define _i386_SETUP_H | 7 | #define _i386_SETUP_H |
8 | 8 | ||
9 | #define COMMAND_LINE_SIZE 256 | ||
10 | |||
9 | #ifdef __KERNEL__ | 11 | #ifdef __KERNEL__ |
10 | #include <linux/pfn.h> | 12 | #include <linux/pfn.h> |
11 | 13 | ||
@@ -14,10 +16,8 @@ | |||
14 | */ | 16 | */ |
15 | #define MAXMEM_PFN PFN_DOWN(MAXMEM) | 17 | #define MAXMEM_PFN PFN_DOWN(MAXMEM) |
16 | #define MAX_NONPAE_PFN (1 << 20) | 18 | #define MAX_NONPAE_PFN (1 << 20) |
17 | #endif | ||
18 | 19 | ||
19 | #define PARAM_SIZE 4096 | 20 | #define PARAM_SIZE 4096 |
20 | #define COMMAND_LINE_SIZE 256 | ||
21 | 21 | ||
22 | #define OLD_CL_MAGIC_ADDR 0x90020 | 22 | #define OLD_CL_MAGIC_ADDR 0x90020 |
23 | #define OLD_CL_MAGIC 0xA33F | 23 | #define OLD_CL_MAGIC 0xA33F |
@@ -78,4 +78,6 @@ void __init add_memory_region(unsigned long long start, | |||
78 | 78 | ||
79 | #endif /* __ASSEMBLY__ */ | 79 | #endif /* __ASSEMBLY__ */ |
80 | 80 | ||
81 | #endif /* __KERNEL__ */ | ||
82 | |||
81 | #endif /* _i386_SETUP_H */ | 83 | #endif /* _i386_SETUP_H */ |