diff options
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 68273b4dc882..b7cd280bfd63 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -37,6 +37,8 @@ | |||
37 | #include <asm/mach/irq.h> | 37 | #include <asm/mach/irq.h> |
38 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
39 | 39 | ||
40 | #include "compat.h" | ||
41 | |||
40 | #ifndef MEM_SIZE | 42 | #ifndef MEM_SIZE |
41 | #define MEM_SIZE (16*1024*1024) | 43 | #define MEM_SIZE (16*1024*1024) |
42 | #endif | 44 | #endif |
@@ -53,10 +55,7 @@ static int __init fpe_setup(char *line) | |||
53 | __setup("fpe=", fpe_setup); | 55 | __setup("fpe=", fpe_setup); |
54 | #endif | 56 | #endif |
55 | 57 | ||
56 | extern unsigned int mem_fclk_21285; | ||
57 | extern void paging_init(struct meminfo *, struct machine_desc *desc); | 58 | extern void paging_init(struct meminfo *, struct machine_desc *desc); |
58 | extern void convert_to_tag_list(struct tag *tags); | ||
59 | extern void squash_mem_tags(struct tag *tag); | ||
60 | extern void reboot_setup(char *str); | 59 | extern void reboot_setup(char *str); |
61 | extern int root_mountflags; | 60 | extern int root_mountflags; |
62 | extern void _stext, _text, _etext, __data_start, _edata, _end; | 61 | extern void _stext, _text, _etext, __data_start, _edata, _end; |
@@ -279,7 +278,7 @@ int cpu_architecture(void) | |||
279 | * These functions re-use the assembly code in head.S, which | 278 | * These functions re-use the assembly code in head.S, which |
280 | * already provide the required functionality. | 279 | * already provide the required functionality. |
281 | */ | 280 | */ |
282 | extern struct proc_info_list *lookup_processor_type(void); | 281 | extern struct proc_info_list *lookup_processor_type(unsigned int); |
283 | extern struct machine_desc *lookup_machine_type(unsigned int); | 282 | extern struct machine_desc *lookup_machine_type(unsigned int); |
284 | 283 | ||
285 | static void __init setup_processor(void) | 284 | static void __init setup_processor(void) |
@@ -291,7 +290,7 @@ static void __init setup_processor(void) | |||
291 | * types. The linker builds this table for us from the | 290 | * types. The linker builds this table for us from the |
292 | * entries in arch/arm/mm/proc-*.S | 291 | * entries in arch/arm/mm/proc-*.S |
293 | */ | 292 | */ |
294 | list = lookup_processor_type(); | 293 | list = lookup_processor_type(processor_id); |
295 | if (!list) { | 294 | if (!list) { |
296 | printk("CPU configuration botched (ID %08x), unable " | 295 | printk("CPU configuration botched (ID %08x), unable " |
297 | "to continue.\n", processor_id); | 296 | "to continue.\n", processor_id); |