summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-02-13 12:36:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-02-13 12:36:34 +0000
commit4a0dc3a32a1bd24ae3712a3ea76cb21f93a8d8c3 (patch)
treeb9a6f079f856bbb03d630f077d6f7b56e5696056
parent30408f1cc4bf181918ad6ede6f65d55890c03d28 (diff)
downloadmtk-20170518-4a0dc3a32a1bd24ae3712a3ea76cb21f93a8d8c3.zip
mtk-20170518-4a0dc3a32a1bd24ae3712a3ea76cb21f93a8d8c3.tar.gz
mtk-20170518-4a0dc3a32a1bd24ae3712a3ea76cb21f93a8d8c3.tar.bz2
add support for 3.2
SVN-Revision: 30492
-rw-r--r--target/linux/malta/patches-3.2/001-remove_unused_perf_function.patch14
1 files changed, 14 insertions, 0 deletions
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
index 0000000..dd53834
--- /dev/null
+++ b/target/linux/malta/patches-3.2/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
+