MIPS: make oprofile use cp0_perfcount_irq if it is set
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 May 2012 15:33:04 +0000 (17:33 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:49:19 +0000 (17:49 +0200)
commit3572a2c37f667ee49333f8863722b8f43eac506b
tree0c33d196770577509403447e6fda88e9b012d3b6
parent36be50515fe2aef61533b516fa2576a2c7fe7664
MIPS: make oprofile use cp0_perfcount_irq if it is set

Make the oprofile code use the performance counters irq.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3723/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c
arch/mips/oprofile/op_model_mipsxx.c