Skip to content
Commit f6325e30 authored by Rusty Russell's avatar Rusty Russell
Browse files

cpumask: use cpu_online in kernel/perf_event.c



Also, we want to check against nr_cpu_ids, not num_possible_cpus().
The latter works, but the correct bounds check is < nr_cpu_ids.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
To: Thomas Gleixner <tglx@linutronix.de>
parent bea4c899
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment