diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-17 18:43:08 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-17 02:13:11 +0100 |
commit | f6325e30ebd6fc870315b017a5d4a6ab15bf790b (patch) | |
tree | fd5961e95c8aeef5b4f4517c81bedbf4a774cece /mm | |
parent | Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs (diff) | |
download | linux-f6325e30ebd6fc870315b017a5d4a6ab15bf790b.tar.xz linux-f6325e30ebd6fc870315b017a5d4a6ab15bf790b.zip |
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: Rusty Russell <rusty@rustcorp.com.au>
To: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions