ARM: SMP: move CPU number sanity checks to smp_init_cpus()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Dec 2010 10:42:58 +0000 (10:42 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:08:26 +0000 (15:08 +0000)
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>

No differences found