commit | bbc3d14e9aca023bb98e580aa1c9350af8effdb1 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Dec 03 10:42:58 2010 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Dec 20 15:08:26 2010 +0000 |
tree | d4b70bc67c04d1cbe05948a9368f916198237dbc | |
parent | 28e18293cf0f8d23a0950d7b1d2212d11af494dc [diff] |
ARM: SMP: move CPU number sanity checks to smp_init_cpus() Ensure that the number of CPUs is sanity checked before setting the number of possible CPUs. This avoids any chance of overflowing the cpu_possible bitmap. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>