add support for 3.2

SVN-Revision: 30492
lede-17.01
Florian Fainelli 2012-02-13 12:36:34 +00:00
parent 30408f1cc4
commit 4a0dc3a32a
1 changed files with 14 additions and 0 deletions

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