]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: perf: Fix build error caused by unused counters_per_cpu_to_total()
authorFlorian Fainelli <florian@openwrt.org>
Thu, 19 Jul 2012 07:13:52 +0000 (09:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 09:23:44 +0000 (11:23 +0200)
commitd10b66605847dff018226de8a78b2163f665f686
tree561f980e755f902bdc58a69681b6274f0496ac7c
parent7cf6cb3aa09e19fb603d17e9b632e5fe2ded6949
MIPS: perf: Fix build error caused by unused counters_per_cpu_to_total()

cc1: warnings being treated as errors
arch/mips/kernel/perf_event_mipsxx.c:166: error: 'counters_per_cpu_to_total' defined but not used
make[2]: *** [arch/mips/kernel/perf_event_mipsxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....

It was first introduced by 4f75661d14735ffa016f6977aaff294dbb12033d [MIPS:
perf: Add support for 64-bit perf counters.] in 3.2.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: david.daney@cavium.com
Patchwork: https://patchwork.linux-mips.org/patch/3357/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c