From: Florian Fainelli Date: Mon, 23 Apr 2012 12:33:27 +0000 (+0000) Subject: [malta] add support for 3.3 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=7d6d93e281e1bc25706a0abdbcaa3057a5059a80;p=15.05%2Fopenwrt.git [malta] add support for 3.3 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31447 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 +