diff options
Diffstat (limited to 'include/asm-m32r/setup.h')
-rw-r--r-- | include/asm-m32r/setup.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-m32r/setup.h b/include/asm-m32r/setup.h index 52f4fa29abfc..6a0b32202d4e 100644 --- a/include/asm-m32r/setup.h +++ b/include/asm-m32r/setup.h | |||
@@ -1,6 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * This is set up by the setup-routine at boot-time | 2 | * This is set up by the setup-routine at boot-time |
3 | */ | 3 | */ |
4 | |||
5 | #define COMMAND_LINE_SIZE 512 | ||
6 | |||
7 | #ifdef __KERNEL__ | ||
8 | |||
4 | #define PARAM ((unsigned char *)empty_zero_page) | 9 | #define PARAM ((unsigned char *)empty_zero_page) |
5 | 10 | ||
6 | #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000)) | 11 | #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000)) |
@@ -18,8 +23,6 @@ | |||
18 | 23 | ||
19 | #define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200)) | 24 | #define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200)) |
20 | 25 | ||
21 | #define COMMAND_LINE_SIZE (512) | ||
22 | |||
23 | #define RAMDISK_IMAGE_START_MASK (0x07FF) | 26 | #define RAMDISK_IMAGE_START_MASK (0x07FF) |
24 | #define RAMDISK_PROMPT_FLAG (0x8000) | 27 | #define RAMDISK_PROMPT_FLAG (0x8000) |
25 | #define RAMDISK_LOAD_FLAG (0x4000) | 28 | #define RAMDISK_LOAD_FLAG (0x4000) |
@@ -27,3 +30,5 @@ | |||
27 | extern unsigned long memory_start; | 30 | extern unsigned long memory_start; |
28 | extern unsigned long memory_end; | 31 | extern unsigned long memory_end; |
29 | 32 | ||
33 | #endif /* __KERNEL__ */ | ||
34 | |||