add support for 3.3

SVN-Revision: 31447
This commit is contained in:
Florian Fainelli 2012-04-23 12:33:27 +00:00
parent 460ef32930
commit 9e054eb21a

View File

@ -0,0 +1,14 @@
--- a/arch/mips/kernel/perf_event_mipsxx.c
+++ b/arch/mips/kernel/perf_event_mipsxx.c
@@ -162,11 +162,6 @@ static unsigned int counters_total_to_pe
return counters >> vpe_shift();
}
-static unsigned int counters_per_cpu_to_total(unsigned int counters)
-{
- return counters << vpe_shift();
-}
-
#else /* !CONFIG_MIPS_MT_SMP */
#define vpe_id() 0