diff options
Diffstat (limited to 'arch/xtensa/kernel/setup.c')
-rw-r--r-- | arch/xtensa/kernel/setup.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c index 17e746f7be60..270360d9806c 100644 --- a/arch/xtensa/kernel/setup.c +++ b/arch/xtensa/kernel/setup.c | |||
@@ -60,8 +60,6 @@ struct rtc_ops *rtc_ops; | |||
60 | #ifdef CONFIG_BLK_DEV_INITRD | 60 | #ifdef CONFIG_BLK_DEV_INITRD |
61 | extern void *initrd_start; | 61 | extern void *initrd_start; |
62 | extern void *initrd_end; | 62 | extern void *initrd_end; |
63 | extern void *__initrd_start; | ||
64 | extern void *__initrd_end; | ||
65 | int initrd_is_mapped = 0; | 63 | int initrd_is_mapped = 0; |
66 | extern int initrd_below_start_ok; | 64 | extern int initrd_below_start_ok; |
67 | #endif | 65 | #endif |
@@ -79,10 +77,6 @@ static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; | |||
79 | 77 | ||
80 | sysmem_info_t __initdata sysmem; | 78 | sysmem_info_t __initdata sysmem; |
81 | 79 | ||
82 | #ifdef CONFIG_BLK_DEV_INITRD | ||
83 | int initrd_is_mapped; | ||
84 | #endif | ||
85 | |||
86 | #ifdef CONFIG_MMU | 80 | #ifdef CONFIG_MMU |
87 | extern void init_mmu(void); | 81 | extern void init_mmu(void); |
88 | #else | 82 | #else |
@@ -197,12 +191,6 @@ static int __init parse_bootparam(const bp_tag_t* tag) | |||
197 | 191 | ||
198 | void __init init_arch(bp_tag_t *bp_start) | 192 | void __init init_arch(bp_tag_t *bp_start) |
199 | { | 193 | { |
200 | |||
201 | #ifdef CONFIG_BLK_DEV_INITRD | ||
202 | initrd_start = &__initrd_start; | ||
203 | initrd_end = &__initrd_end; | ||
204 | #endif | ||
205 | |||
206 | sysmem.nr_banks = 0; | 194 | sysmem.nr_banks = 0; |
207 | 195 | ||
208 | #ifdef CONFIG_CMDLINE_BOOL | 196 | #ifdef CONFIG_CMDLINE_BOOL |