Explorar o código

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>
Ingo Molnar %!s(int64=13) %!d(string=hai) anos
pai
achega
662f5cedb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/oprofile/oprofile_perf.c

+ 1 - 1
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;
 
 /*