Re: Voyager phys_cpu_present_map compile error

Ingo Molnar
2008-04-28T17:59:59Z

* James Bottomley <James.Bottomley@HansenPartnership.com> wrote:

> Oh ... oops ... unfortunately one I wouldn't spot in a voyager build.
>
> This should be the corrected patch; thanks.

randconfig testing on x86.git found the build breakage below, i bisected
it down to your patch. The config is:

http://redhat.com/~mingo/misc/config-Mon_Apr_28_19_39_30_CEST_2008.bad

reverted the patch for now.

Ingo

------------>
arch/x86/kernel/built-in.o: In function `physflat_cpu_mask_to_apicid':
genapic_flat_64.c:(.text+0x14373): undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `physflat_send_IPI_mask':
genapic_flat_64.c:(.text+0x1447f): undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `flat_apic_id_registered':
genapic_flat_64.c:(.text+0x14558): undefined reference to `phys_cpu_present_map'
genapic_flat_64.c:(.text+0x1455f): undefined reference to `phys_cpu_present_map'
arch/x86/kernel/built-in.o: In function `uv_cpu_mask_to_apicid':
genx2apic_uv_x.c:(.text+0x14627): undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `uv_send_IPI_mask':
genx2apic_uv_x.c:(.text+0x14658): undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `acpi_register_lapic_address':
boot.c:(.init.text+0x3b1b): undefined reference to `boot_cpu_physical_apicid'
boot.c:(.init.text+0x3b2c): undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `__get_smp_config':
mpparse.c:(.init.text+0x53ad): undefined reference to `num_processors'
mpparse.c:(.init.text+0x53c4): undefined reference to `num_processors'
mpparse.c:(.init.text+0x543c): undefined reference to `num_processors'
arch/x86/kernel/built-in.o: In function `init_apic_mappings':
: undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `init_apic_mappings':
: undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `APIC_init_uniprocessor':
: undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `APIC_init_uniprocessor':
: undefined reference to `phys_cpu_present_map'
arch/x86/kernel/built-in.o: In function `APIC_init_uniprocessor':
: undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `early_init_lapic_mapping':
: undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `acpi_register_lapic':
boot.c:(.cpuinit.text+0x177a): undefined reference to `disabled_cpus'
arch/x86/kernel/built-in.o: In function `MP_processor_info':
mpparse.c:(.cpuinit.text+0x179d): undefined reference to `disabled_cpus'
mpparse.c:(.cpuinit.text+0x17b4): undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `setup_secondary_APIC_clock':
: undefined reference to `boot_cpu_physical_apicid'
arch/x86/kernel/built-in.o: In function `generic_processor_info':
: undefined reference to `num_processors'
arch/x86/kernel/built-in.o: In function `generic_processor_info':
: undefined reference to `num_processors'
arch/x86/kernel/built-in.o: In function `generic_processor_info':
: undefined reference to `phys_cpu_present_map'
arch/x86/kernel/built-in.o: In function `generic_processor_info':
: undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `uv_cpu_init':
: undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `uv_cpu_init':
: undefined reference to `per_cpu__x86_cpu_to_apicid'
arch/x86/kernel/built-in.o: In function `uv_cpu_init':
: undefined reference to `per_cpu__x86_cpu_to_apicid'