malta: use common kernel config
[openwrt.git] / target / linux / malta / patches-3.2 / 001-remove_unused_perf_function.patch
1 --- a/arch/mips/kernel/perf_event_mipsxx.c
2 +++ b/arch/mips/kernel/perf_event_mipsxx.c
3 @@ -162,11 +162,6 @@ static unsigned int counters_total_to_pe
4         return counters >> vpe_shift();
5  }
6  
7 -static unsigned int counters_per_cpu_to_total(unsigned int counters)
8 -{
9 -       return counters << vpe_shift();
10 -}
11 -
12  #else /* !CONFIG_MIPS_MT_SMP */
13  #define vpe_id()       0
14