diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-29 17:29:21 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-29 17:29:21 (GMT) |
commit | 62a75b99ad3595c8b92eb584dd61a93f5a0e8828 (patch) | |
tree | af76a1103af9b3ef56d3ee22365ca388cecee303 /drivers | |
parent | efc9def8c7ab7ac8d44d8afb565247aa2b21cfd5 (diff) | |
parent | 662f5cedb38c4b88e1cebfd54a88159f2f7ab7b9 (diff) | |
download | linux-62a75b99ad3595c8b92eb584dd61a93f5a0e8828.tar.xz |
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull oprofile fixlet from Ingo Molnar.
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
oprofile: perf: use NR_CPUS instead or nr_cpumask_bits for static array
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/oprofile/oprofile_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c index da14432..efc4b7f 100644 --- a/drivers/oprofile/oprofile_perf.c +++ b/drivers/oprofile/oprofile_perf.c @@ -25,7 +25,7 @@ static int oprofile_perf_enabled; static DEFINE_MUTEX(oprofile_perf_mutex); static struct op_counter_config *counter_config; -static struct perf_event **perf_events[nr_cpumask_bits]; +static struct perf_event **perf_events[NR_CPUS]; static int num_counters; /* |