From 0109462603e67e2bbda76a9c2b6f3b3e2ba5811c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 23 Apr 2012 12:33:27 +0000 Subject: [PATCH 1/1] [malta] add support for 3.3 SVN-Revision: 31447 --- .../001-remove_unused_perf_function.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/malta/patches-3.3/001-remove_unused_perf_function.patch 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 + -- 2.30.2