summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-23 12:33:27 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-23 12:33:27 +0000
commit93bbaa79c6628884c5faa8cf16822b1f7b744524 (patch)
tree979d1d0c46ac9f8169221cd58055c7cec1f60a54 /target/linux
parentda04a5b2b3c24617968fc1bd77f09908f4d2b098 (diff)
[malta] add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/malta/patches-3.3/001-remove_unused_perf_function.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/malta/patches-3.3/001-remove_unused_perf_function.patch b/target/linux/malta/patches-3.3/001-remove_unused_perf_function.patch
new file mode 100644
index 000000000..dd538343a
--- /dev/null
+++ b/target/linux/malta/patches-3.3/001-remove_unused_perf_function.patch
@@ -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
+