From: Paul Mackerras Date: Thu, 7 Jun 2007 12:42:19 +0000 (+1000) Subject: [POWERPC] Fix per-cpu allocation on oldworld SMP powermacs X-Git-Tag: v2.6.22-rc5~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63c4faa8cf055319c7ed557d2050c1c3776fac5;p=pandora-kernel.git [POWERPC] Fix per-cpu allocation on oldworld SMP powermacs The per-cpu area(a) for the secondary CPU(s) isn't getting allocated on old SMP powermacs that don't have the secondary CPU(s) listed in the device tree, as per-cpu areas are now only allocated for CPUs in the cpu_possible_map, and we aren't setting the bits for the secondary CPU(s) until smp_prepare_cpus(), which is after per-cpu allocation. Therefore this sets the bits for CPUs 1..3 in cpu_possible_map in pmac_setup_arch, so they get per-cpu data allocated. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed