add support for 3.2
authorFlorian Fainelli <florian@openwrt.org>
Mon, 13 Feb 2012 12:36:34 +0000 (12:36 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 13 Feb 2012 12:36:34 +0000 (12:36 +0000)
SVN-Revision: 30492

target/linux/malta/patches-3.2/001-remove_unused_perf_function.patch [new file with mode: 0644]

diff --git a/target/linux/malta/patches-3.2/001-remove_unused_perf_function.patch b/target/linux/malta/patches-3.2/001-remove_unused_perf_function.patch
new file mode 100644 (file)
index 0000000..dd53834
--- /dev/null
@@ -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