Re: [PATCH 1/4] x86: cleanup early per cpu variables/accessesv3-folded

From: Ingo Molnar
Date: Tue Apr 22 2008 - 10:00:27 EST



* Mike Travis <travis@xxxxxxx> wrote:

> * Introduce a new PER_CPU macro called "EARLY_PER_CPU". This is
> used by some per_cpu variables that are initialized and accessed
> before there are per_cpu areas allocated.

build fails with:

arch/x86/kernel/built-in.o: In function `flat_apic_id_registered':
genapic_flat_64.c:(.text+0x13e1d): undefined reference to `phys_cpu_present_map'
genapic_flat_64.c:(.text+0x13e24): undefined reference to `phys_cpu_present_map'
arch/x86/kernel/built-in.o: In function `APIC_init_uniprocessor':
: undefined reference to `phys_cpu_present_map'
[...]

with this config:

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

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/