diff options
Diffstat (limited to 'arch/arm/kernel/setup.c')
| -rw-r--r-- | arch/arm/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 08974cbe9824..b7cd280bfd63 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
| @@ -278,7 +278,7 @@ int cpu_architecture(void) | |||
| 278 | * These functions re-use the assembly code in head.S, which | 278 | * These functions re-use the assembly code in head.S, which |
| 279 | * already provide the required functionality. | 279 | * already provide the required functionality. |
| 280 | */ | 280 | */ |
| 281 | extern struct proc_info_list *lookup_processor_type(void); | 281 | extern struct proc_info_list *lookup_processor_type(unsigned int); |
| 282 | extern struct machine_desc *lookup_machine_type(unsigned int); | 282 | extern struct machine_desc *lookup_machine_type(unsigned int); |
| 283 | 283 | ||
| 284 | static void __init setup_processor(void) | 284 | static void __init setup_processor(void) |
| @@ -290,7 +290,7 @@ static void __init setup_processor(void) | |||
| 290 | * types. The linker builds this table for us from the | 290 | * types. The linker builds this table for us from the |
| 291 | * entries in arch/arm/mm/proc-*.S | 291 | * entries in arch/arm/mm/proc-*.S |
| 292 | */ | 292 | */ |
| 293 | list = lookup_processor_type(); | 293 | list = lookup_processor_type(processor_id); |
| 294 | if (!list) { | 294 | if (!list) { |
| 295 | printk("CPU configuration botched (ID %08x), unable " | 295 | printk("CPU configuration botched (ID %08x), unable " |
| 296 | "to continue.\n", processor_id); | 296 | "to continue.\n", processor_id); |
