Re: [patch 2/2] x86: move prefill_possible_map calling early, fix,V2
From: Ingo Molnar
Date: Tue Sep 30 2008 - 03:54:20 EST
* Chuck Ebbert <cebbert@xxxxxxxxxx> wrote:
> From: Chuck Ebbert <cebbert@xxxxxxxxxx>
>
> x86: move prefill_possible_map calling early, fix, V2
>
> fix:
>
> arch/x86/kernel/built-in.o: In function `setup_arch':
> : undefined reference to `prefill_possible_map'
>
> Fix this by making prefill_possible_map() available even when
> CONFIG_HOTPLUG_CPU is not set. The function is needed so that
> the number of possible CPUs can be determined.
>
> Tested on uniprocessor machine with CPU hotplug disabled.
> From boot log:
> Before: NR_CPUS: 512, nr_cpu_ids: 512, nr_node_ids 1
> After: NR_CPUS: 512, nr_cpu_ids: 1, nr_node_ids 1
applied to tip/x86/core, thanks Chuck! Made it a single delta patch, to
ease backporting.
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/