Skip to content
Commit adae1302 authored by Nikos Nikoleris's avatar Nikos Nikoleris Committed by Andrew Jones
Browse files

arm/arm64: Add sanity checks to the cpumask API



Make sure that any calls to the cpumask API target a valid CPU. The
CPU is identified by an int in the range [0, nr_cpus), where nr_cpus
is set based on information in the DT.

Reviewed-by: Alexandru Elisei's avatarAlexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: default avatarNikos Nikoleris <nikos.nikoleris@arm.com>
Signed-off-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
parent 0917dc65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment