mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 10:52:25 +02:00
[malta] add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31447 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
da04a5b2b3
commit
93bbaa79c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user