aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta
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
commitf12f24fa411fad34fd6499b274718764fe25d1a1 (patch)
tree1225887315d1d3bc6d55fda3fb13c26661dfc11f /target/linux/malta
parent36b621ea55dc33f7f5ec13531088d02e2fdc59e2 (diff)
downloadupstream-f12f24fa411fad34fd6499b274718764fe25d1a1.tar.gz
upstream-f12f24fa411fad34fd6499b274718764fe25d1a1.tar.bz2
upstream-f12f24fa411fad34fd6499b274718764fe25d1a1.zip
[malta] add support for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/malta')
-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 0000000000..dd538343ae
--- /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
+