aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-23 12:33:27 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-23 12:33:27 +0000
commit9e054eb21ab32e70e590e972cf0ff7567db97708 (patch)
treecea3219b1d3acc64f2dbdabaab6d014b00c6b23c /target/linux/malta
parent460ef3293085ad4fe49d2713ffe83a252b4e06d0 (diff)
downloadupstream-9e054eb21ab32e70e590e972cf0ff7567db97708.tar.gz
upstream-9e054eb21ab32e70e590e972cf0ff7567db97708.tar.bz2
upstream-9e054eb21ab32e70e590e972cf0ff7567db97708.zip
add support for 3.3
SVN-Revision: 31447
Diffstat (limited to 'target/linux/malta')
-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 0000000000..dd538343ae
--- /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
+