git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oprofile: perf: use NR_CPUS instead or nr_cpumask_bits for static array
[pandora-kernel.git]
/
drivers
/
oprofile
/
oprofile_perf.c
diff --git
a/drivers/oprofile/oprofile_perf.c
b/drivers/oprofile/oprofile_perf.c
index
da14432
..
efc4b7f
100644
(file)
--- 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;
/*