summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/cpu_setup_pa6t.S
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-05-10 19:28:59 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 14:30:45 +1000
commitebc04215108c124cb4f519d687a8e27a0d16a4aa (patch)
treef06697bdb1108e11c6a0b7ca904fc9f0c39b49c9 /arch/powerpc/kernel/cpu_setup_pa6t.S
parentaa79bc2167104581cc1d77762394f2c01d3bf3f3 (diff)
powerpc/mpic: Limit NR_CPUS loop to 32 bit
mpic_physmask was looping NR_CPUS times over a mask that was passed as a u32. Since mpic is architecturaly limited to 32 physical cpus, clamp the logical cpus to 32 when compiling (we could also clamp at runtime to nr_cpu_ids). Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/cpu_setup_pa6t.S')
0 files changed, 0 insertions, 0 deletions