diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-11 12:22:27 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-11 12:22:27 -0500 |
| commit | 9b80b11c3faa460cf42904a1e368bf2cd075aff6 (patch) | |
| tree | ecc349bbb90856c97be1b93cc9595ceea82fe2c5 /arch/powerpc/kernel/setup-common.c | |
| parent | b0b7b8eac33dc0f58ce9e7b7a61cf6529ee0b38c (diff) | |
| parent | 271c3f35bd36613513e2c2cc90dc914a84df116e (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
| -rw-r--r-- | arch/powerpc/kernel/setup-common.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index bae4bff138f1..33e7f2c7f194 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
| 34 | #include <asm/prom.h> | 34 | #include <asm/prom.h> |
| 35 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
| 36 | #include <asm/systemcfg.h> | 36 | #include <asm/vdso_datapage.h> |
| 37 | #include <asm/pgtable.h> | 37 | #include <asm/pgtable.h> |
| 38 | #include <asm/smp.h> | 38 | #include <asm/smp.h> |
| 39 | #include <asm/elf.h> | 39 | #include <asm/elf.h> |
| @@ -444,10 +444,8 @@ void __init check_for_initrd(void) | |||
| 444 | if (initrd_start >= KERNELBASE && initrd_end >= KERNELBASE && | 444 | if (initrd_start >= KERNELBASE && initrd_end >= KERNELBASE && |
| 445 | initrd_end > initrd_start) | 445 | initrd_end > initrd_start) |
| 446 | ROOT_DEV = Root_RAM0; | 446 | ROOT_DEV = Root_RAM0; |
| 447 | else { | 447 | else |
| 448 | printk("Bogus initrd %08lx %08lx\n", initrd_start, initrd_end); | ||
| 449 | initrd_start = initrd_end = 0; | 448 | initrd_start = initrd_end = 0; |
| 450 | } | ||
| 451 | 449 | ||
| 452 | if (initrd_start) | 450 | if (initrd_start) |
| 453 | printk("Found initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); | 451 | printk("Found initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); |
| @@ -566,7 +564,7 @@ void __init smp_setup_cpu_maps(void) | |||
| 566 | cpu_set(cpu ^ 0x1, cpu_sibling_map[cpu]); | 564 | cpu_set(cpu ^ 0x1, cpu_sibling_map[cpu]); |
| 567 | } | 565 | } |
| 568 | 566 | ||
| 569 | _systemcfg->processorCount = num_present_cpus(); | 567 | vdso_data->processorCount = num_present_cpus(); |
| 570 | #endif /* CONFIG_PPC64 */ | 568 | #endif /* CONFIG_PPC64 */ |
| 571 | } | 569 | } |
| 572 | #endif /* CONFIG_SMP */ | 570 | #endif /* CONFIG_SMP */ |
