X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Foprofile%2Foprofile_perf.c;h=efc4b7f308cfd6e1c37a44a0407c6e070f9d514e;hb=3b8a121217806b5fcc2127298c52c0b499cc687b;hp=da14432806c6e1662e536c2c18c21763094a5329;hpb=7abec10c623d9e0416dab6919a0ea22e6283516b;p=pandora-kernel.git 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; /*