Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bbc3d14e authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 28e18293
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment