git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc3d14
)
ARM: SMP: Clean up ncores sanity checks
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 3 Dec 2010 19:29:53 +0000
(19:29 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:08:27 +0000
(15:08 +0000)
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 <rmk+kernel@arm.linux.org.uk>
No differences found