From: Russell King Date: Fri, 3 Dec 2010 19:29:53 +0000 (+0000) Subject: ARM: SMP: Clean up ncores sanity checks X-Git-Tag: v2.6.38-rc1~471^2~2^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8975b6c0fdd57e061f4d1040163778ceaf340ad8;p=pandora-kernel.git ARM: SMP: Clean up ncores sanity checks scu_get_core_count() never returns zero cores, so we don't need to check and correct if ncores is zero. Tegra was missing the check against NR_CPUS, leading to a potential bitfield overflow if this becomes the case. Signed-off-by: Russell King --- Reading git-diff-tree failed