From: David S. Miller Date: Sat, 25 Feb 2006 21:39:56 +0000 (-0800) Subject: [SPARC64]: Make cpu_present_map available earlier. X-Git-Tag: v2.6.16-rc5~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abea9214585823f7f19d91872d7c6f8874bef9a;p=pandora-kernel.git [SPARC64]: Make cpu_present_map available earlier. The change to kernel/sched.c's init code to use for_each_cpu() requires that the cpu_possible_map be setup much earlier. Set it up via setup_arch(), constrained to NR_CPUS, and later constrain it to max_cpus in smp_prepare_cpus(). This fixes SMP booting on sparc64. Signed-off-by: David S. Miller --- Reading git-diff-tree failed