From: Milton Miller Date: Tue, 10 May 2011 19:28:59 +0000 (+0000) Subject: powerpc/mpic: Limit NR_CPUS loop to 32 bit X-Git-Tag: v3.0-rc1~385^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebc04215108c124cb4f519d687a8e27a0d16a4aa;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed