summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-06-24 19:08:49 +0200
committerIngo Molnar <mingo@kernel.org>2012-06-24 19:08:49 +0200
commit662f5cedb38c4b88e1cebfd54a88159f2f7ab7b9 (patch)
treef94f8beef7165f728e3ff00b47f2ee2fee8fc2b3 /drivers
parent002b758b6dc4d840e662f25625f696d7b43d48f4 (diff)
parente734568b675c985db2026848fefaac01c22977a5 (diff)
downloadlinux-662f5cedb38c4b88e1cebfd54a88159f2f7ab7b9.tar.gz
linux-662f5cedb38c4b88e1cebfd54a88159f2f7ab7b9.tar.bz2
linux-662f5cedb38c4b88e1cebfd54a88159f2f7ab7b9.zip
Merge branch 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/urgent
Pull a oprofile fix from Robert Richter. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/oprofile/oprofile_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c
index da14432806c6..efc4b7f308cf 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;
/*