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)
commitbbc3d14e9aca023bb98e580aa1c9350af8effdb1
treed4b70bc67c04d1cbe05948a9368f916198237dbc
parent28e18293cf0f8d23a0950d7b1d2212d11af494dc
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>
arch/arm/mach-omap2/omap-smp.c
arch/arm/mach-realview/platsmp.c
arch/arm/mach-ux500/platsmp.c
This page took 0.026748 seconds and 5 git commands to generate.