]> 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)
commit7025dc76962cb94e3835955b5e35e87ecde758bc
tree561f980e755f902bdc58a69681b6274f0496ac7c
parent294c65c0c47d2623cf949b59e8c5785964cbb6bf
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 179cdeae409eaabcded25ffcb8453a8f2d93e305 [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