mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
4a0dc3a32a
SVN-Revision: 30492
15 lines
354 B
Diff
15 lines
354 B
Diff
--- 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
|
|
|