generic: ar8216: allow to use more ports
[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
This page took 0.03963 seconds and 5 git commands to generate.