aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86_64/elf.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2007-06-07 22:42:19 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-14 11:56:17 +1000
commitc63c4faa8cf055319c7ed557d2050c1c3776fac5 (patch)
treeed0515562cfa6e46a69cc035e53c7cee82654b0d /include/asm-x86_64/elf.h
parenteedab661a51966c454e38c17266a531aa58b4a98 (diff)
[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 <paulus@samba.org>
Diffstat (limited to 'include/asm-x86_64/elf.h')
0 files changed, 0 insertions, 0 deletions