lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2/2] x86: move prefill_possible_map calling early, fix, V2

* Chuck Ebbert <cebbert@redhat.com> wrote:

> From: Chuck Ebbert <cebbert@redhat.com>
>
> 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


\
 
 \ /
  Last update: 2008-09-30 09:57    [W:0.032 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site