From: Mike Travis Date: Wed, 26 Mar 2008 21:23:48 +0000 (-0700) Subject: init: move setup of nr_cpu_ids to as early as possible X-Git-Tag: v2.6.26-rc1~1132^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0982e90cd1ecf59818b137386b7f63debded9cc;p=pandora-kernel.git init: move setup of nr_cpu_ids to as early as possible Move the setting of nr_cpu_ids from sched_init() to start_kernel() so that it's available as early as possible. Note that an arch has the option of setting it even earlier if need be, but it should not result in a different value than the setup_nr_cpu_ids() function. Signed-off-by: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed